How to automatically update Epic Link for all linked issues when their Parent’s Epic Link changes?

I do can add Post Function for a particular transition. But I’d like to propagate changes event when issue’s status doesn’t change. In fact, we change Epic Link mostly in Backlog window using drag-n-drop.

 

I tried to create a looped transition (i.e. from any status to itself). It doesn’t fire.

And even if it does, I’m not sure that it would work in Backlog window.

 

1 answer

Hi @Evgeny Erofeev,

One possible way of doing this automatic Epic Link update is to use an add-on like Power Scripts.

Here's a quick video detailing a similar functionality, including the sample code used. You can make a slight edit to the code for Epics:

string [] epicLink = allLinkedIssues(key.parent, "Epic-Story Link");
linkIssue(key, epicLink[0], "Epic-Story Link");

Hope this helps!

Johnson

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,802 views 11 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot