Need to add remote ticket link as a issue link in source ticket in jira cloud

Hello Community,
I tried the solution in this article - How to put the remote link as the issue link in Jira Cloud?

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.

Hi @K_Mayur,

Is this a local connection? Does the issue you’re trying to add exist in the local instance?

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

Hope it helps.

Thanks
Majid