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

Evgeny Erofeev November 22, 2017

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

0 votes
Johnson Wang December 11, 2017

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 Sign up to answer