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.

1 answer

0 votes
Aaron Pavez _ServiceRocket_
Community Champion
April 28, 2026

Hi @Angel Ferreira 

Can you give us a bit more detail on what the jira expression is doing?

Do you want to check a parent work item's custom field value when you are creating a new work item?

Regards

Suggest an answer

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

Atlassian Community Events