The logical validator is one of the most powerful and versatile validators that can be used in JWT since it uses the full potential of the JWT expression parser functions.
This validator evaluates a logical expression that returns
false. The transition will only be possible, if the result is
Since you only have a single parameter, an expression, you need to familiarize yourself with the Logical mode, which explains how to write logical expressions.
If the transition is triggered by a JWT post function, e.g. through Transition issue, 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.
f the create transition is triggered by a mail handler, the validation will be skipped.
You have the following options:
Define where the error message should be displayed. By default, the message will be shown at the top of the transition screen, or in case there is no transition screen, as a popup.
Alternatively, you can locate the message below any other field. This option only makes sense, if there is a transition screen defined for the specific transition.
Due to limitations in Jira Service Management, the location parameter will be ignored on Jira Service Management related screens. The location parameter only works for the Create Issue transition screen if JSD version 4.10 or higher is being used.
After clicking on the Add translation button you can optionally translate the error message to other languages.
The language in which the error message will be displayed depends on the language setting of the individual users.
If you want to use this functionality in a condition instead, have a look at the Logical condition.