Cloud Migration Resources
Planning a Jira Cloud migration? These resources can help you get started:
→ JMWE Cloud features – Review Cloud features and understand key differences between DC and Cloud.
→ Migration support from Appfire – Learn how we can help you migrate smoothly.
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:
Click Edit for the workflow that has the transition you wish to configure the validator on.
In the Workflow Designer, select the transition.
Click on
Validatorsin the properties panel.Click on
Addvalidator.Select
Parent Status Validatorfrom the list of validators.Click on
Addto add the validator on the transition.Select the status(es) of the parent issue from the
Status of parent issuefield.Add a customized error message in
Error messageto display if the validation failsClick on
Addto add the validator to the transition.
On the Service Management portal view of a request, the customer will not see the Error message when the validator fails. This is due to a known limitation (JSDSERVER-5822) with Atlassian.
Related links :
Refer to the Use cases for validators page for use cases for this validator.
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.
The list of statuses that is displayed under the Status of parent issue has all the statuses across different workflows. This is because the workflow of a parent and child can be different.
Validator Scope
To execute this validator based on the result of a groovy expression see Conditional execution using Groovy expression