Questions for Confluence license has expired.

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

How To Sync Time Tracking from Azure DevOps to Jira?

 
1
0
-1

I want to sync time tracking progress from Azure devops to Jira, please help how to do thank you.

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Thanks for raising this question! 

      You can include the following three fields in the Outgoing sync of the Jira to add them to the replica:


      replica.originalEstimate = issue.originalEstimate
      replica.spent = issue.spent
      replica.estimate = issue.estimate


      Then to sync those values into the Original Estimate, Remaining, and Completed fields in Azure you need to add the following logic into your Incoming sync in Azure DevOps:


      //Time Tracking
      if(replica.originalEstimate) {
          workItem."Microsoft.VSTS.Scheduling.OriginalEstimate" = (replica.originalEstimate as Double)/3600
      }
      if(replica.estimate) {
          workItem."Microsoft.VSTS.Scheduling.RemainingWork" = (replica.estimate as Double)/3600
      }
      if(replica.spent) {
          workItem."Microsoft.VSTS.Scheduling.CompletedWork" = (replica.spent as Double)/3600
      }

      Kind regards,

      Ariel

        CommentAdd your comment...