@Internal
public interface WorkflowTransitions
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<Workflow> |
addCommonTransition(String sourceStatusId,
int transitionId,
String workflowName)
Add a common transition to a workflow.
|
ServiceOutcome<TransitionData> |
addTransitionToWorkflow(String name,
String description,
Long screenId,
int sourceStepId,
int targetStepId,
String workflowName)
Add a transition with the specified properties to the named workflow.
|
ServiceOutcome<Workflow> |
deleteTransition(int transitionId,
int sourceStepId,
String workflowName)
Delete the transition represented by transition id on the specified workflow.
|
ServiceOutcome<Workflow> |
updateTransition(int transitionId,
String name,
String description,
Long screenId,
int sourceStepId,
String workflowName)
Update an existing transition with the supplied properties on the named workflow.
|
ServiceOutcome<Workflow> |
updateTransitionSource(int transitionId,
String newSourceStatusId,
String originalSourceStatusId,
String workflowName)
Update the source of an existing transition on the named workflow.
|
ServiceOutcome<Workflow> |
updateTransitionTarget(int transitionId,
String targetStatusId,
String workflowName)
Update the target of an existing transition on the named workflow.
|
ServiceOutcome<TransitionData> addTransitionToWorkflow(String name, String description, Long screenId, int sourceStepId, int targetStepId, String workflowName)
ServiceOutcome<Workflow> updateTransition(int transitionId, String name, String description, Long screenId, int sourceStepId, String workflowName)
ServiceOutcome<Workflow> deleteTransition(int transitionId, int sourceStepId, String workflowName)
transitionId
- sourceStepId
- workflowName
- ServiceOutcome<Workflow> updateTransitionTarget(int transitionId, String targetStatusId, String workflowName)
ServiceOutcome<Workflow> updateTransitionSource(int transitionId, String newSourceStatusId, String originalSourceStatusId, String workflowName)
transitionId
- The id of the transition being modified.newSourceStatusId
- The status id representing the new source status.originalSourceStatusId
- The status id representing the original source status.workflowName
- The name of the workflow the transition exists on.ServiceOutcome<Workflow> addCommonTransition(String sourceStatusId, int transitionId, String workflowName)
sourceStatusId
- The ID of the source status to use.transitionId
- The ID of the transition to use.workflowName
- The name of the workflow to add the common transition to.Copyright © 2002-2021 Atlassian. All Rights Reserved.