Is there possibility to run Structure Synchronizers in custom order?

We have a problem in our firm with Synchronizers in Structure. 

We scripted Listener (in Script runner) for automatically creating issues, when someone create issue of specific issue type. And we also use Filter and Links Synchronizers in Structure

For example if We create issue (type FR) JIRA automatically create 7 issues linked to that issue.

Then, when We create FR issue in Structure (with Next Issue button) our Script Listener start to creating linked issues...

Structure should first run Links synchronizers to get linked issue to Structure as a sub-issues of FR depending on Issue Link. Then Structure should use Filter Synchronizer to move them all to right place.... That would be desired situation.

But, if we dont have synchronizers ordered, Filter synchronizers sometimes move 3 or 4 of linkedn issues somewhere and rest let somewhere else.

Is there any solution to solve this? 

Can we write Job in Jira, which will running synchronizers in our custom order every few minutes for example?

 

Thanks

2 answers

Hi Tomáš, Could you elaborate on the expected behaviour: "Structure should first run Links synchronizers to get linked issue to Structure as a sub-issues of FR depending on Issue Link. Then Structure should use Filter Synchronizer to move them all to right place...." Where do you want the Filter Synchronizer to put them and how/why is it different from where the Links Synchronizer puts them?

I don't understand either. AFAIK, the filter synchronizer just adds issues to the top of the structure based on a filter. How would the filter synchronizer know where to put an added issue in the structure? It is the links synchronizer that puts a child issue under a parent issue, possibly adding the child or parent depending on how the synchronizer is configured.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

361 views 0 6
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