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'm trying to write a script that sets the "Parent Link" field on an Epic to be that of the Feature Key with the same value, but can't figure out a way to do so.
We have the below hierarchy in our Jira cloud instance right now as we upgraded to Premium to have an expanded hierarchy:
Feature -> Epic -> Stories -> Subtask
Both a Feature and an Epic contain the same custom field called "Reference Prefix". I would like to set the "Parent Link" field on all Epics to be the Key of the Feature that has the same matching "Reference Prefix" field value.
For example, using the below format:
[Feature Issue Name] | [Reference Prefix Field Value] | [Feature Key]
[Epic Issue Name] | [Reference Prefix Field Value]
How would I set the Parent Link field to be TEST-123 on all of these epics?
Multiple Epics can map to a single Feature so I'm trying to figure out a script that can apply this kind of logic across multiple issues.