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 do I update the "parent link" for an issue using automation?

Currently trying to automate the linkage of a Program Epic to a Portfolio Epic as they get created. However, project automation does not support editing the Parent Link field. Am I missing something?

Another alternative I explored was to create a URL to create a new issue, but when I try to get the custom field populated with the JIRA ID of the Portfolio Epic, the Parent Link field does not pre-populate. 

2 answers

1 vote
Deleted user Sep 10, 2019

Hi Jamie,

 

Thanks for reaching out. You can edit the Parent Link field using the Additional fields of our Edit Issue action. This will look something like this: 

 

Screen Shot 2019-09-11 at 2.26.05 pm.pngHope this helped! Feel free to reach out if you need anything else or if this is not what you're looking for.

 

Cheers,

Jane (Automation for Jira)

Hi Jane,

I'm using the following:

{
"fields": {
"customfield_10402": {{issue.XXX-111}}
}
}

The automation runs successfully according to the logs but it does not seem to actually update the field. 

Am I doing something wrong?

Thanks,

Jamie

Like Filippe Carvalho likes this

Hi Jamie,

 

Are you able to please check to see that this custom field is on the Edit Issue screen?

If you're still having difficulty, please feel free to raise a support ticket so we can help you look into this further.

 

Cheers,

Jane (Automation for Jira)

Hi Jane,

It's not available in automation but I can see the field when I'm editing a JIRA issue. 

parent link automation.PNGparent link edit issue.PNG

Deleted user Sep 15, 2019

Hi Jamie,

 

Sorry for the delay in my response. Are you able to raise a support ticket so I can have a look at this for you closer? If you can also include a screenshot of your rule config and your audit log please.

Looking forward to hearing back from you!

 

Cheers,

Jane (Automation for Jira)

Was there ever a resolution for this issue?

Like # people like this

I'm also having this exact same issue but with populating the "Epic Link". Logs show successful but the story isnt added to the parent epic.

Also facing the same issue. Was this ever resolved?

Like Marc Mastromonico likes this

I've found out that this does not work as you can't link a EPIC as a Parent to an EPIC. The {{triggerIssue.key}} works fine but it returns the EPIC Key not the Parent key. This is why there are no errors in the automation. However, I've yet to figure out how to return the Parent Link key.

Like Marc Mastromonico likes this

For anyone still looking at this, I think I figured out a solution.

cc: @Jamie Dang @[deleted] @Marc Mastromonico 

 

Scenario:

  • When someone uses the link type "is parent / child"
  • Check to see if one of the issues types being linked is an initiative
  • If one of them is an initiative:
    • For the "Trigger Issue" edit fields "Parent Link"
    • For the "Destination Issue" edit fields "Parent Link"

 

Note: If you are in an Initiative and try to link it to an Epic, the rule will try to have the initiative be the parent of itself. Since that is not possible it shouldn't matter and the rule is still successful.

 

Screen Shot 2022-10-14 at 12.36.35 PM.png

Here is some additional details:

Screen Shot 2022-10-14 at 12.36.41 PM.pngScreen Shot 2022-10-14 at 12.36.52 PM.pngScreen Shot 2022-10-14 at 12.36.59 PM.png



Shout out to @Mark Segall who helped me with a different issue, but also helps solve this one! 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events