Hi!
I want validate a value of select list (single choice) in parent issue on the create transition so I generate this expresión with scriptrunner, in the test is ok but when I tried to create an issue fails.
Another thing is that the issue parent's hierarchy is at level 2 (premium plan), so I tried executing the validator on the creation of an epic issue.
issue.parent != null && (issue.parent.issueType.name == "Project") && ((issue?.parent?.customfield_10061?.value == “agile”))
Or how would I restrict on the creation of epic issues only to issues type proyect (principal) with customfield set with option "agile"
Thanks