Versions Compared

Key

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

Additional validators and conditions enable you to perform checks in Jira based on a certain criteria:

...

.Singular Status Validator. This validator checks that there are no issues in a status
Workflow functionDescriptionParameters

Regex Validator

Checks that input value to a custom field satisfies the Regex expression.

Configuration: You must specify the custom field and Regex. The custom field values will be matched by the Regex. Optionally, you can also specify a custom error message.

You can check that story points are integer.

Unique Field Value Validator

Checks how many different values exist for a certain field in the ticket.

Configuration

You must specify

  • JQL in which the result field values of issues will be compared
  • Field the values for which will be compared
  • Maximum allowed non-unique values of the field in a JQL result
  • Alternative error message.

JQL Validator

Checks the count of issues in a JQL result.

Configuration

  • JQL – use %THIS% to point to a current issue key
  • Number of issues which should be the same as a number in a result JQL
  • You can also set an alternative error message if a comment is not provided.
  • JQL - use %SUMMARY% to point to the current issue summary.
    For example:
    project = "TEST" and Summary ~ "%SUMMARY%"
    You can check that there is already an issue with the same summary
  • .
  • Links Validator. This validator checks that there are no linked issues in set statuses.
  • Comment Validator

    This validator requires a transition comment for all users except those specified in the exception group(s).

    Configuration

    • You can specify the user groups that can skip providing a comment. 
    • You can also set an alternative error message if a comment is not provided. See example below

    Links Validator

    This validator checks that there are no linked issues in set statuses.

    Configuration

    • You must specify the project, issue type and link type.
    • Also, you can select different issue states.

    Image Added

    Singular Status Validator

    This validator checks that there are no issues in a status.

    Configuration

    You must specify the Issue type id and Status id. You may find IDs if you go Administration →  Issues → Issue Type/Statuses  → hover to Edit → a modal pops up.

    Image Added

    Example for a Comment Validator

    ...

    To set up the condition perform the same steps as setting up any validator or post-function.

    ...