Description
...
Add a custom condition
Select condition
Navigate to the intended workflow and create a draft.
Click the Add condition button in the Conditions tab of the workflow transition where you want to apply the condition.
Find and select the Custom condition (Bob Swift) from the list.
Click the Add button to add the condition to the selected transition.
Add details to the condition
Enter the following details in the CONDITION FIELDS > Configuration tab:
Expression: Enter a Jira expression, which when satisfied, allows the user to view the workflow transition and to proceed to the next status.
For example: do not allow the users to view the next status if there are no attachments in the issue:Code Block issue.attachments.length != 0
Evaluate: Click this button to validate your Jira expression. If the syntax is incorrect, you are prompted with an error message that directs you to what possibly went wrong.
Notes (optional): Enter useful information about the condition.
Click Add to add the condition to the selected transition.
You can also navigate to the quick links in the HELP section to learn more about the condition and usage details.
Note |
---|
Ensure that you publish the workflow to apply the configured Custom condition on the issue transition. |
...