Subtask JQL Validator
This page is about JEP for Jira DC. Using Cloud? Click here.
This validator confirms whether subtasks within an issue match the specified JQL.
Steps
Open the workflow where you want to add the condition and locate the transition you want.
Switch to the Validators tab.
Click the Add validator button.
Select JEP - Subtask JQL Validator and click the Add button.
Select the type of matching strategy:
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 Query: Type the JQL that the subtasks within the issue should match to proceed with the transition.
Message: Enter the message that should be displayed if the JQL 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.
Publish the workflow.
The validator will now be added to the transition.
If the subtasks within the issue do not match the (given) JQL, then the transition is prohibited and will show the (given) error message.