You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

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

JQL

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.

Condition

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:

Expression

The expression must return a true or false.

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

Validation options

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.
Error message

Add an optional error message to show when validation fails.

Location

Define where the error message should be displayed.

Message

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.

Add translation

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.

Run as

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


Use cases and examples


If you still have questions, feel free to refer to our support team.