Validators & Conditions Module
Users can implement custom logic in Jira workflows by utilizing Jira Expressions for validators and conditions.
Here are some examples of how users can customize Jira workflow validators and conditions using Jira expressions:
Ensure Summary has “Jira“ text while creating issue: issue.summary == “Jira“ (Validator)
This expression ensures that an issue cannot create unless summary is equal to "Jira".
Ensure issue comment field has at least one comment: issue.comments.length > 0 (Condition)
This expression ensures that an issue cannot transition to pending unless it has at least one comment.
Â