Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
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

How to set the parent link on an Epic?

Edited

I have an automation rule where I want to set the parent link of an Epic to an Initiative. 

 

What smart value do I use to set that in the additional fields section? This is what I am trying currently with no luck.

{
"fields": {
"Parent Link": {"key" : "PT-16747"}
}
}

4 answers

1 accepted

Hey Julia :) 

As @Stefan Salzl alluded to, the Json needs to be built out a bit more. Something like this should work:

{
    "update" : {
        "customfield_<parentLink Field ID>" : [{"set" : "PT-16747"}]
    }
}
0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Mar 18, 2022

Hi @Julia 

I recommend first confirming the name of the field/smart value to use.  Find an example epic linked to an initiative, and then use this how-to article to confirm the smart value: https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/

My understanding is the smart value name is parent, not parent link.

Then take a look at the examples here to confirm the way to set the link for the relevant field type: https://support.atlassian.com/cloud-automation/docs/advanced-field-editing-using-json/

Kind regards,
Bill

I am in Jira Server, not cloud. 

0 votes
Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 18, 2022

hi @Julia ,

tbh: I‘m not proficient with advanced roadmaps and I dunno smart values by heart. I would recommend to have a look at the JSON of the issue (see the link below) to see the exact name of the field.

https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/

Best
Stefan

This also does not work:

{
"fields": {
"Parent Link": "PT-16747"
}
}

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events