Note
We've packed up and moved from Confluence to Discourse to bring you a better, more interactive space. Out of courtesy we didn't migrate your user account so - you will have to signup again
The Exalate team will be on holiday for the coming days - returning Jan 4
Enjoy & stay safe
I am looking for a solution how to pair an existing issue in one project with an existing issue in another project.
In the incoming sync, I would like to test two custom field content, which will help me to search for the existing issue in the other project.
I saw a solution posted by Francis Martens (Exalate) some time ago on Atlassian Community
https://community.atlassian.com/t5/Jira-Service-Management/Backbone-Issue-sync-tool-link-two-existing-issues/qaq-p/1631698
Using his suggestion, I wanted to expand the code he proposed:
To sum up, I am looking for a solution where I will be able to sync and connect with the existing remote issue (it will always be only one), when a certain JQL condition is met. In Jira Automation this JQL looks as follows
project = IFC AND issutype = Task AND "IFC_ID" = {{triggerissue.customfield_10100"}}
So in Exalate the sync should be initiated, if the local custom field value is found in the same custom field value in another specific project and issue.
I tried to draft the code but I doubt if it is correct
Can someone direct me how to write this line from Francis Martens (Exalate) ?