...
Here are some examples of how users can customize Jira workflow validators and conditions using Jira expressions:
Ensure Summary has “Jira“ text that the summary contains the text "Jira" while creating an issue:
issue.summary == “Jira“ .match("Jira") != null (Validator)
: This expression ensures that an issue cannot create unless summary is equal to contains the text "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.
...