I have a issue hierarchy like this:
A links1 to B
B links2 to C
I can succesfully add a Link Syncronizer for links1, but if I add a second Link Syncronizer for links2, the issue links for issues in the structure is messed (i.e the syncronizer add links1 and links2 to the issues).
I need to see a structure like this:
but I don't want the syncronizer to modify the issue links (links1 and links2)
When using several links synchronizers, you need to configure them to affect mutually exclusive subsets of issues with parameters "parent issue filter" and/or "sub-issue filter".
For example, if all A are Epics, all B are Stories and all C are Technical Tasks, you can configre links1 synchronizer with sub-issue JQL "issuetype = Story" and links2 synchronizer with sub-issue JQL "issuetype = Technical Task".
Secondly, if you don't want the synchronizer to modify the links, there are two different ways to do that:
1. Do not enable synchronizers, but run manual Resync (from Links to Structure) instead. The synchronizers will not track ongoing changes - so your structure will not change automatically. But this method is guaranteed not to change any links. Whenever you need to update structure, run Resync on both synchronizers again.
2. Configure synchronizers using "Links Primacy" option. This works rather differently. You can enable these synchronizers and they will track changes and update the structure. However, whenever the structure is found to be inconsistent with links, it is always structure that will be changed.
Note that with option 2 it is still possible that a link is deleted, if there are two incoming links into a single issue that are within synchronizer's scope of action (so it would need to place an issue in two places in the structure at the same time, which is not possible - so it removes the oldest link). You can configure which links are within the synchronizer's scope by using "Parent filter", "Sub-issue filter", and "Expansion" parameters.
Related documentation: https://wiki.almworks.com/x/lwBg
Hope this helps!
Thanks. I chose option 1 and it works OK.
One question: I have a situation where there are two incoming links into a single issue that are within synchronizer's scope of action. You mention that Structure will remove the oldest link. Is there a way that structure "outdent" the old link issue? Otherwise I will have to manually rearrange the structure to place the old link issue as parent and indent the new link issue.
There's no direct way to do that.
Basically, what you mean is that there are two possible parents, then remove that issue from the synchronizer scope... If that can be expressed via JQL via some filter for the sub-issue (like ".... AND numberOfIncomingLinks("link type") <= 1"), that could work. But I'm not aware of an existing JQL function that can help.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
...there's anything I've learnt from working, it's that people are lazy! No offense to anyone reading this, but it's true and we can all admit it. The easier you make something for someone, the more...
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!
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