I want to add validation for transition when liked issue "is contained in" and status is "Completion".
If issue A contains issue B and C and issue A can be transited when status of issue B and C is "Completion". However issue B and C can be transited to "Completion" regardless of the status of issue A.
Can you tell me script for this?
Below script doesn't work.
issue.resolutionObject.name == "Resolved" || issueLinkManager.getOutwardLinks(issue.id)*.issueLinkType.name.contains('is contained in')