Originally asked by Destri Weir on 10 February 2022 (original question)
I’m using a visual connection with script.
This code displays the source link on the replica issue:
if (executionInstanceName == “Main”)
if(firstSync){
syncHelper.syncBackAfterProcessing()
issue.customFields.“Remote Link”.value = remoteIssueUrl
}
But reverse engineering it doesn’t work to display the replica link on the source issue:
if (executionInstanceName == “ServiceDesk”)
if(firstSync){
syncHelper.syncBackAfterProcessing()
issue.customFields.“Remote Link”.value = remoteIssueUrl
}