1
0
-1

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
}

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      You have to move setting the remote link outside the if (firstsync) block

      1. Destri Weir

        Francis Martens (Exalate) 

        Worked like a charm, thank you!

      CommentAdd your comment...