Parent Status Validator


A workflow validator which ensures that the current issue's parent is in one of the selected statuses. This is useful only for sub-tasks.

To add 'Parent Status Validator' to a transition:

  1. Click Edit for the workflow that has the transition you wish to configure the validator on.
  2. In the Workflow Designer, select the transition.
  3. Click on Validators in the properties panel.
  4. Click on Add validator.
  5. Select Parent Status Validator from the list of validators.
  6. Click on Add to add the validator on the transition.
  7. Select the status(es) of the parent issue from the Status of parent issue field.
  8. Add a customized error message in Error message to display if the validation fails
  9. Click on Add to add the validator to the transition. 

When you add this validator to a transition with required options and trigger the transition, the add-on checks the status of the issue's parent. If the parent issue is not in one of the selected statuses then an error message is displayed.

Validator Scope

To execute this validator based on the result of a groovy expression see Conditional execution using Groovy expression