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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.