Workflow Extensions
If you are familiar with extensions to workflows from Jira Server, then some of the concepts here are a little different. Post Functions, Conditions, and Validators can be added to workflows, giving you increased control over how and when an issue transitions.
-
Post Functions - perform automated actions after an issue transitions to a new status.
-
Conditions - check to make sure that a requirement is met before the transition option is available.
-
Validators - check to make sure that a requirement is met when a user tries to transition an issue.
Navigate to Workflow Functions
-
Click the Cog in the sidebar to open the Settings menu and select Issues.
-
Select Workflows from the side menu under Workflows.
-
Click Edit on the workflow you wish to add or edit a workflow function.
-
In the Diagram view, select a transition. A list of workflow functions is displayed. Click the function type you wish to edit/add, for example, Conditions.
-
The Transition screen shows a list of all conditions set up for this transition. Click Add Condition.
-
Under Add Condition to Transition a list of available conditions is shown. Select the ScriptRunner Script option from the menu and click Add.
