Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Here are some examples of how users can customize Jira workflow validators and conditions using Jira expressions:

  1. 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".

...

  1. 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.

...