Linked Issue(s) Validator
Are you using JMWE for Jira Cloud and want to learn how to use this validator? Head to our documentation here.
When you add this validator to a transition and trigger the transition, the add-on checks the number of linked issues of specified link type added on the transition screen against the number of issues entered in the Min. Linked Issues
field. If it does not match then an error message is displayed.
You can further customize the validation using the following options:
What to validate
Require the creation of issue links on the transition screen
Validates that at least one issue is linked to the current issue on the transition screen, and the link must be of the specified link type and must respect the Issue constraints (explained below).
Validate issue links added on the transition screen, if any
Validates that the issue links added on the transition screen if any, are of the specified link type and respect the Issue constraints (explained below)
Require issue links with a specific link type or set of constraints
Validates that the issue links that are added on the transition screen and ones that already existed are of the specified link type and respect the Issue constraints (explained below).
Max. Linked Issues
Select the maximum number of linked issues to be accepted. Leave it blank for no limit.
Condition on linked issues
Input a Groovy condition in this field to check on each linked issue. Leave blank if you don't need any constraint on the linked issues. See the Groovy help editor for more information on writing the Groovy condition.
All linked issues must verify the condition above
By default, this option is checked and the Groovy condition written above is checked on each linked issue of the current issue. If you uncheck this option, at least one linked issue, instead of all, must verify the condition.
Validator Scope
To execute this validator based on the result of a groovy expression see Conditional execution using Groovy expression