This article shows an example of how to synchronize issue links on Jira Cloud.
Configuration
Let's consider you already have the Connection configured between the Instances.
Now you need to configure issue links synchronization:
Configure Sync Rules with the scripts provided below:
Note: Add the snippets below to the new line at the end of the existing scripts.
Source Side
Outgoing sync
replica.issueLinks = issue.issueLinks
Destination Side
Incoming sync
issue.issueLinks = replica.issueLinks
Important: You should separately synchronize all issues that are linked to a specific issue to keep an association between them on the Destination side.
Example:
Sync between projects DEV and TEST;
issue DEV-1 is linked to issue DEV-2;
sync issue DEV-1 to TEST-1;
TEST-1 still is not associated with any other issue
sync issue DEV-2 to TEST-2;
as a result, you get a link between remote issues on the TEST project (TEST-1 and TEST-2)