Structure synchronizer does not work as expected

Patrik Jonasson February 6, 2019

Hi I'm using structure from ALM works. We use the bundled Agile synchronizer to ensure that issues, that have a value in the field "Epic Link", are located accordingly in the structure.

In the synchronizers configuration, the parameter "source of truth" is set to Jira. 

1. I create an issue
2. I'm placing it under an Epic in the structure
3. I'm changing the value in the field epic link in Jira.
4. The structure Agile synchronizer kicks in.
Expected:
I'm expecting the issue to relocate to the corresponding epic in the structure.

Actual:
The synchronizer changes the epic link value back to the previous
This is from the structure audit log
[{"structureId":128,"syncInstanceId":141,"syncModuleKey":"com.almworks.jira.structure:sync-gh","timestamp":1549460062292,"description":{"action":"sync","result":"success","ownerKey":"frkand02","parameters":{"sourceOfTruth":"jira","viewId":302,"subtasks":true,"syncEpics":true,"independentRanking":false,"syncRank":false},"jiraEvents":[{"type":"LINK_DELETED","issues":[{"key":"LTRE-20576","id":200802},{"key":"LTRE-37152","id":307383}],"timestamp":1549460044409,"syncInstanceId":0},{"type":"LINK_CREATED","issues":[{"key":"LTRE-20653","id":201456},{"key":"LTRE-37152","id":307383}],"timestamp":1549460044417,"syncInstanceId":0},{"type":"ISSUE_UPDATED","issues":[{"key":"LTRE-37152","id":307383}],"timestamp":1549460044788,"syncInstanceId":0},{"type":"ISSUE_UPDATED","issues":[{"key":"LTRE-37152","id":307383}],"timestamp":1549460044788,"syncInstanceId":0}],"structureEvents":[]},"actions":[{"type":"changeEpic","issue":{"key":"LTRE-37152","id":307383},"epic":{"key":"LTRE-20576","id":200802},"oldEpic":{"key":"LTRE-20653","id":201456},"epicLink":10050}]}]


If I manually relocate the epic by drag and drop in the structure, the field "Epic link" changes accordingly by the Agile synchronizer.
If I change the parameter "source of truth" to "Structure" the behaviour is the same. Changing it back to Jira does not seem to have any effect.

Jira version:  7.8.0
Structure version: 5.2.0


Any help on this would be appreciated.



Thanks in advance

1 answer

1 vote
Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 8, 2023

Hi @Patrik Jonasson 

It's better to get an advise from ALM Works directly. You can raise a request here: https://support.almworks.com/servicedesk/customer/portal/8/user/login?destination=portal%2F8%2Fgroup%2F36%3FgroupId%3D36

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events