Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Conditional Expression in JMWE post function

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]

  • Feature A | ABC-1 | TEST-123
  • Epic A | ABC-1
  • Epic B | ABC-1
  • Epic C | ABC-1

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.

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events