The Herzum Approval Validation on Linked Issues validator is a built-in validator that is able to block a workflow transition until all the Approval Conditions, on all the linked issues, returns true.
Follow the steps below in order to setup the Approval Validation on Linked Issues 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 Approval Validation on Linked Issues
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 Link TypesRequired:the check on passed Approval Conditions will be performed only on the issues linked to the current issue via the selected linked types
Message to show when validation fails: A custom message (optional) to show when the validator returns false. When it's not specified, a default message appears: You cannot transition this issue because the Approval Validator on linked issues is not yet satisfied
JQL filter for linked issues: the Approval Conditions will be checked only on the issues that satisfy the JQL filter
JQL filter for current issue: the validator will be checked only if the current issue satisfies the JQL filter.