1
0
-1

Hi All


I have parents, child and sub child work items in Azure and I would like them to sync to Jira as Issue Links not sub-taks. please advise how to sync issuelink on Jira cloud from azure.

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      You need to send the parent in the replica and use that information to create the link on the Jira side.
      The type of link is important as on Jira stories are linked to their epic using the epic link and subtasks to their parent using the subtask link...




      1. Harinder Singh

        Hi Martens


        can you share snippet how to create issue, what information is required? I do have parentid coming from Azure side. thank you.

      2. Francis Martens (Exalate)

        Check the documentation 'How to synchronize tasks and subtasks'

        The snippet on the destination side should help you get the job done

      3. Harinder Singh

        Hi Martens


        I know this snippet i am using for sub-task but the problem is that in JIRA you cant have sub-task of another sub-task. So i want to add all sub-task items as IssueLinks, so how can i add issue links in Jira side please advise. thank you.



      4. Harinder Singh

        Hi Martens


        any help / snippet?


        thanks

      5. Francis Martens (Exalate)

        Google is your friend
        Check How to create a normal issuelink (Local synchronisation)

        I'm sure you can bake your logic starting from there

      6. Harinder Singh

        Thanks Marten, but link you provided is for Jira server and we are talking about cloud. so how?

      7. Francis Martens (Exalate)

        Ah sorry - forgot this is cloud


        I don't have a solution ready to share.
        You will have to use the REST api provided by Jira Cloud to craft the solution.
        Check for an example this page How to sync Group Picker custom field


        It shows how you can interact with the Jira cloud using Rest.

      CommentAdd your comment...