Originally asked by Jayashree Dakshinamoorthy on 28 October 2020 (original question)
How do we link issues from Jira → ADO and ADO → Jira .
Originally asked by Jayashree Dakshinamoorthy on 28 October 2020 (original question)
How do we link issues from Jira → ADO and ADO → Jira .
Answer by Juan Grases on 30 October 2020
Hi, I think this question might be helpful for you:
How to keep parent-child relationship between Azurenode and Jira (old community)
If you don’t need Exalate to create the Links in Jira, you then will need to send the issue links from jira:
//Outgoing Jira
replica.issueLinks = issue.issueLinks
And then on the incoming in Azure, set the parent Id base on it:
//Incoming Azure
def jiraParentLink = replica.issueLinks.find{it.linkName == "is related to"}
if(jiraParentLink){
def localParentKey = nodeHelper.getLocalIssueKeyFromRemoteId(jiraParentLink.otherIssueId)
workItem.parentId = localParentKey?.id
}
Answer by Francis Martens (Exalate) on 28 October 2020
Can you detail out how what you would like to achieve?
There are multiple ways of creating links…
Sorry for an unelloborated Question !!
This is my Requirement , I need to Sync the Jira Linked Issues <--> the ADO linked issues
In this Snapshot , U can see i have linked the MOB-37171 is linked to its parent MOB-37186 in jira( Link Type : is related to ).
So , i see that the issue MOB-37171 is already synced in ADO… however , the corresponding Work Item for MOB-37171 in ADO is not linked with respective Parent WorkItem in ADO.
So
On Jira - you have J1 linked with J2 using the ‘is related’ link type
On ADO - you have A1 (the twin of J1) and the A2 (the twin of J2)
What you want to achieve is that A1 is also linked with A2 using some linktype
Yes thats correct