Is it possible to automatically drag Stories into a structure if their epic is added by a filter synchronizer?

Fred Kamp February 17, 2015

I'm a great fan of the structure plugin and its synchronizers and we use it quite often but we didn't manage to solve the following problem so far:

We use a 4 level hierarchy of issues to plan (and do smile) our work: Business Needs > Epics > User Stories > Subtasks. Business Needs and Epics are linked by standard JIRA issue linking. Epics and Stories are linked using the Greenhopper mechanisms (Epic Name - Epic Link).

Release planning is done on the Epic level using the fixVersion/s field. We established a filter synchronizer that adds all Epics to the structure that have one of the right version assigned. There is also an issue links synchronizer that pulls the appropriate Businees Need (the Epic's parent) into the structure.

What we also need is a synchronizer that would automatically pull the Epic's stories into the structure. We defined a JIRA Agile synchronizer which works fine for stories that are added to an Epic that is already in the structure. But if an Epic is added by the filter synchronizer that already has some Stories these Stories do not appear in the structure until we do a resync of the JIRA Agile synchronizer. This is quite error-prone because our product managers (who plan Epics by assigning versions) can not a perform a resync after every change (and to be honest: I really don't want to allow them to do so.)

So we end up with Epics in our structure where some stories are part of the structure (added to the epic after it was added to the structure) and some are not (added to the epic before the epic was added to the structure).

Is there any idea for a solution without manually resyncing?

1 answer

1 vote
Eugene Sokhransky _ALM Works_
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.
March 11, 2015

Hi Fred,

Sorry for the delayed reply. We monitor Atlassian Answers, but we mostly rely on tags and since the one for structure wasn't here we missed this one ;(

There are two ways to get those stories. If all the epics and stories you have in this structure are from the same Agile board, you can configure Agile synchronizer to work with this specific Agile board (rather than selected projects). And in this case, the Agile synchronizer will automatically add stories for the epics, which were added by the filter synchronizer.

Another option is to use the scriptrunner plugin and use its linkedIssuesOf functions in the Filter synchronizer:

https://jamieechlin.atlassian.net/wiki/x/EwD4AQ

With this function you should be able to get all stories linked to the epics you are looking at.

I hope this helps. Please feel free to contqct us via email or our JIRA if you have more questions.

Kind regards,

Eugene (ALM Works)

Suggest an answer

Log in or Sign up to answer