The Herzum Approval Conditioned Validation on subtasks, parent of subtask, epic or issues in epic Validator is a built-in validator that is able to block a workflow transition until the evaluation of a jql, on all the related issues. returns true.
Follow the steps below in order to setup the Conditioned Validation on sub-tasks, parent of sub-tasks, epic or issues in epic validator on a workflow transition:
Choose → Issues>Workflowsor clickCreate Workflow functionon the Advanced#Workflowfunctions administration screen
Edit the concerned workflow
Select the concerned workflow transition
Select the Validators tab
Add Validator
Check the option for the Conditioned Validation on subtasks, parent of subtask, epic or issues in epic
Fill the parameters:
User used to evaluate the applied criteria Required: Any of the specified criteria will be evaluated basing on the selected user. Ensure that the selected user has appropriate browsing permission on the projects at whom the current and the linked issues belong to.
Issue type for related issues Required: the check on the Condition that related issues must meet in order to allow current issue to transition will be performed only on the issues related to the current issue via the specified criteria.
Message to show when validation fails: A custom message (optional) to show when the validation returns false. When it's not specified, a default message appears: You cannot transition this issue because the Conditioned Validation on sub-tasks, parent of sub-task, epic or issues in epic is not yet satisfied
Condition that related issues must meet in order to allow current issue to transition: A JQL filter that identify the condition that all related issues must meet in order to allow the current issue to transition.
If you do not specify any condition, the current issue cannot transition if any related issue matches the selected criteria.