How to put the remote link as the issue link in Jira Cloud?

Originally asked by Mathieu Lepoutre on 17 November 2022 (original question)


How can I put the remote link of the twin, as the Issue Link in Jira Cloud?


Answer by Mathieu Lepoutre on 17 November 2022

Please put this in the Incoming Sync;

httpClient.put("/rest/api/3/issue/${issue.key}", """{
    "update":{
      "issuelinks":[
         {
            "add":{
               "type":{
                  "name": "Relates",
                    "inward": "relates to"
                    
               },
               "outwardIssue":{
                  "key":"${replica.key}"
               }
            }
         }
      ]
   }
}""")

It will look like this;


Answer by Sagi Gueta on 05 February 2023

Mathieu Lepoutre I have similar use case - but using two different instances so issue link is impossible to apply. How should I implement a link to the synced remote issue in the other destination?


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