Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×I want to write a groovy simple scripted expression to check on issue creation if the "Parent Link" field on an Epic is filled out during the CREATE screen... I can't figure out how to access that field.
I know that "parent" in issue.ParentObject for example is only referencing the parent of a subtask so I am stuck on how to access the "Parent Link" on an Epic.
This is just an example of what I want to write. How do I write this to say "Parent Link is not EMPTY
issue.resolution.name != "Fixed"
Hi @Julia
Parent Link is a field reserved for Portfolio for Jira. If you add this field on a screen, and you don't have it you will get a message like the following:
Portfolio for Jira must be licensed for the parent link to be available.
If however you have Portfolio for Jira, then a script like:
issue.customfield_12345.value != null
Where 12345 is the id of the parent link on your instance.
@Julia write the following
issue.customfield_14201.key != null
and don't mind if the line is red. I've tried it on my instance and works fine. Test it and let me know if that works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register Now
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.