JQL Validator
Since v1.2
The validation will pass only if the issue matches the given JQL.
To add 'JQL Validator' to a transition:
Click Edit for the workflow that has the transition you wish to add the condition on.
In the Workflow Designer, select the transition.
Click on
Validator
in the properties panel.Click on
Add
Validator
.Select
JQL Validator
from the list of conditions.Click on
Add
to add the condition on the transition.Fill the form shown below and press 'Add' button.
Fields
JQL Filter – Set up a JQL filter to restrict this transition to issues that matches this filter.
Default Message - Set here the message you want to display o users when this validation fails.