This article shows how to synchronize the remote issue link to a custom field on destination instance.
Destination side
- Add a URL custom field. Let's name it
remoteIssueUrl
. - Add the code below into the Incoming sync.
Note: For more information about custom fields, please read the Atlassian documentation on Adding a custom field
// remoteIssueUrl is provided in the incoming sync script issue.customFields."Remote issue URL".value = remoteIssueUrl
Note: "Remote issue URL " is the name of the custom field, you've created in the first step. You can change it to any custom name.