But it throws error “Issue does not exist or you don’t have permission to see”. If I create ticket without the script added the sync is successful but unable to get the issue link in source ticket.
The remote issue link is available to you in Exalate as “issueUrl” variable.
So, the question basically becomes how you add an issueLink.
Can i ask this please?
Can you try to manually add the issue link in JIra and see if it is possible?
Normally it should not be possible unless you have set up Remote Links.
Depending on your answer here, I can try to help further.
Also, a very nice, easy workaround is to create a custom field called XYZ and add the following in your incoming script:
issue.customFields.“XYZ”.value = issueurl