JEP - Subtask JQL Validator
This page is about the Enhancer Plugin for Jira Server. Using Jira Cloud? Then please click on the Cloud button above. |
This validator confirms whether subtasks within an issue match the specified JQL.
To add the Subtask JQL Validator
Go to the transition of your workflow, switch to the Validators tab and then click on the Add Validator button.
Select JEP - Subtask JQL Validator and then click the Add button.
Type the JQL that the subtasks within the issue should match in order to proceed with the transition. Also, type the message that should be displayed if the JQL does not match.
- Match Type: Select the type of matching strategy.
- ALL_MATCH: All subtasks should match the given JQL.
- ANY_MATCH: At least one of the subtasks should match the given JQL.
- NO_MATCH: None of the subtasks should match JQL.
- JQL: Type your JQL here.
- Message: The message that should be seen if the JQL statement does not match.
- Skip when no subtasks: Enable this option to skip the validator if there are no subtasks within the issue.
Click the Add button and that's it.
If the subtasks within the issue do not match the (given) JQL, then the transition is prohibited and will show the (given) error message.
Do not forget to publish the workflow!
This validator confirms whether subtasks within an issue match the specified JQL.