Auto assign stories to the same version as the Epic they are linked to?

Sameen Kashfi January 9, 2018

Hello,

 

I was wondering if there is a way for stories that are attached to an epic to adopt/auto-assign the fix version that the has been applied to the epic?

So far I have to add everything to the Fix-version manually.

Thank you,

Sameen

2 answers

1 vote
Alexey Matveev
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.
January 9, 2018

Hello,

You could use the solution provided by @Cristian Rosas [Tecnofor]. But if you want completely automate the process you could write a listener which would listen to the update event and then if the fix version field of an epic was updated, you could find in the listener all issues linked to the epic and change the fix version field for the issues. You could develop such a plugin or use add-ons like Power Scripts or Adaptivist Scriptrunner.

If you had Power Scripts you listener would look like this:

string [] keys = selectIssues("\"Epic Link\" = " + key);
for (string k in keys) {
    %k%.fixVersion=%key%.fixVersion;
}

You can find more info on Power Scripts here:

https://confluence.cprime.io/display/JJUPIN/SIL+Listeners

0 votes
Cristian Rosas [Tecnofor]
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.
January 9, 2018

Hi Sameen,

You can bulk edit the fix version field with issues in the same project. Take note it will overwrite the value.

You will need to have all the permissions related to this action.

Suggest an answer

Log in or Sign up to answer