You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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"
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.