Conditioned Validation on Linked Issues


The Herzum Approval Conditioned Validation on Linked Issues Validator is a built-in validator that is able to block a workflow transition until the evaluation of a jql, on all the linked issues. returns true.


Follow the steps below in order to setup the Conditioned Validation on Linked Issues validator on a workflow transition

  1. Choose   →  Issues>Workflows  
  2. Edit the concerned workflow
  3. Select the concerned workflow transition
  4. Select the Validators tab
  5. Add Validator
  6. Check the option for the Conditioned Validation on Linked Issues

  7. Fill the parameters: 
    1. User used to evaluate the applied criteria RequiredAny 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.

    2. Issue Link Types Required:the check on the Condition that linked issues must meet in order to allow current issue to transition will be performed only on the issues linked to the current issue via the selected linked types

    3. 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 Linked Issues is not yet satisfied

    4. Condition that linked issues must meet in order to allow current issue to transition: A JQL filter that identify the condition that all linked issues must meet in order to allow the current issue to transition.

      (info) If you do not specify any condition, the current issue cannot transition if any linked issue matches the selected link types.