Questions for Confluence license has expired.

Please purchase a new license to continue using Questions for Confluence.

Using Jira Issue Link to set Parent in DevOps

 
3
2
1

In Jira, we use the Epic issue type for two 'epic types'; Business Epics (project = EDI) and Software Epics (project != EDI). We use a link type of 'Is SWD Epic for Business Epic' to link them.


I have Exalate configured so that Business Epics (EDI) generate an Azure DevOps 'Epic' and Software Epics (non-EDI) generate an Azure DevOps 'Feature' which is great. However, I'd ideally like to have the parent/child relationship between the Epic and Feature in DevOps - Business Epic being the parent.


    CommentAdd your comment...

    1 answer

    1.  
      2
      1
      0

      Outgoing on Jira 

      replica.issueLinks = issue.issueLinks

      Incoming Azure:

      def remoteLinkedIssue = replica.issueLinks.find{it.linkName == "The right link name"}?.otherIssueId
      if(remoteLinkedIssue){
          issue.parentId = syncHelper.getLocalIssueKeyFromRemoteId(remoteLinkedIssue, "issue")?.id
      }
        CommentAdd your comment...