Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How I can validate customfield´s parent on create transition?

Angel Ferreira
Contributor
September 17, 2024

 

 

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.

 

issue.parent != null && (issue.parent.issueType.name == "Project") && ((issue?.parent?.customfield_10061?.value == “agile”))

 

Thanks for you help.

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events