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

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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

477 views 6 11
Read article

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