This condition is used for hiding or blocking a transition depending on the result of a JQL query.


Field codes in the format %{nnnnn} can be inserted in the JQL query. It will be replaced by the corresponding field values at JQL execution time. Most of the times you will require to introduce one or more field codes in your JQL query since usually some kind of reference to the current issue (%{00015}), current user (%{00020}), current date (%{00057}), assignee (%{00003}) wants to be made.


Configuration

Enter plain text and optionally use Field codes, e.g. %{issue.summary}, to insert field values.

Test your expression by clicking the run button on the top right of the expression box.



Choose the condition from one of the following options:

  1. Current issue belongs to the output of the query
  2. Current issue doesn't belong to the output of the query
  3. Number of issues returned by the JQL query satisfies a logical expression

Upon choosing 3. The following must be done:

The expression must return a true or false.

Test your expression by clicking the run button on the top right of the expression box.




Choose from one of the following options (multi-choice is possible):

  • If the transition is triggered by a JWT post function, the validation will be skipped.
  • If the transition is triggered by a bulk operation, the validation will be skipped.
  • If the create transition is triggered by a clone operation, the validation will be skipped.
  • If the create transition is triggered by a mail handler, the validation will be skipped.


Add an optional error message to show when validation fails.

Define where the error message should be displayed.


Enter plain text and optionally use Field codes, e.g. %{issue.summary}, to insert field values.

Test your expression by clicking the play button on the top right of the expression box.


Click on the Add translation button and choose the desired language to be translated to.

Translations will be displayed based on the user's language setting.



Choose which user* will be able to execute this post function. By default, it is set to the Current user.



Use cases and examples





Status
Tech review

Style guide



Short descriptionValidation on the result of a JQL query.
Label