Using href for remote issue key

Originally asked by Ziad Qadora on 07 April 2021 (original question)


Hello,

I’m trying to populate the remote issue key with the remote Issue URL as follow

def issueURL = “https://remote_instance/browse/” + replica.key
issue.customFields.“Remote Issue Key”.value = “<a href=” + issueURL + “>” + replica.key + “</a>”

But this is not working. Has anyone done something similar to this.

On a different note, is there a way to get the remote instance info rather than hard coding it. as above.

Regards,

Ziad


Answer by Ariel Aguilar on 24 May 2021

Hi Ziad,

We have documentation on this:

https://docs.idalko.com/exalate/x/z4grAQ

It should also work for Jira On-Premise. You can try to add the following snippet on the Incoming sync:

issue.customFields."Remote issue URL".value = remoteIssueUrl

Let me know if this works for you.

Kind regards,

Ariel


Answer by Ziad Qadora on 25 May 2021

Hi,

That works.

I was trying to imped the URL in the key.

Thank you for the help.

Regards,

Ziad


This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.