Questions for Confluence license has expired.

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

Sync Due Date from Azure DevOps to JIRA cloud

 
1
0
-1

Hi All


Anyone know how to configure due date sync bi-directional between Azure Devops and JIRA cloud

    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      Hi Mark,


      just figured it out for ourselves...


      On Azure DevOps:

        • Outgoing Sync:
      replica.dueDate = workItem."Microsoft.VSTS.Scheduling.DueDate"
      
      • Incoming Sync:


        import java.text.SimpleDateFormat 
        
        def sdf = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss")
        if (replica.dueDate){
            workItem."Microsoft.VSTS.Scheduling.DueDate" = sdf.format(replica.dueDate)
        }

      On JIRA Cloud:

      • Outgoing Sync:

        replica.dueDate = issue.due
      • Incoming Sync:


        import java.text.SimpleDateFormat
        
        def sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'");
        if(replica.dueDate){
            issue.due = sdf.parse(replica.dueDate)
        }

      That configuration is working for us.


      Kind Regards


      Stefan

        CommentAdd your comment...
      1.  
        1
        0
        -1

        The following document shows how to do it on JIra environments
        How to synchronize Due Date field?

        It is similar on ADO to JC

          CommentAdd your comment...