# How To Sync Time Tracking from Azure DevOps to Jira?

**URL:** <https://community.exalate.com/t/how-to-sync-time-tracking-from-azure-devops-to-jira/4288>\
**Category:** General Questions\
**Tags:** exalate, usecase, migrated\_question, time, tracking\
**Created:** [November 4, 2024, 6:45am UTC](https://community.exalate.com/t/how-to-sync-time-tracking-from-azure-devops-to-jira/4288 "2024-11-04T06:45:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![xl8bot](https://dub1.discourse-cdn.com/flex018/user_avatar/community.exalate.com/xl8bot/32/324_2.png) [@xl8bot](https://community.exalate.com/u/xl8bot)\
**Post date:** [November 4, 2024, 6:45am UTC](https://community.exalate.com/t/how-to-sync-time-tracking-from-azure-devops-to-jira/4288/1 "2024-11-04T06:45:03Z")

</div>

_Originally asked by Harinder Singh on 23 July 2020 [(original question)](https://oldcommunity.exalate.com/questions/11340939)_

* * *

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

* * *

---

<div class="post-metadata">

**Author:** ![xl8bot](https://dub1.discourse-cdn.com/flex018/user_avatar/community.exalate.com/xl8bot/32/324_2.png) [@xl8bot](https://community.exalate.com/u/xl8bot)\
**Post date:** [November 4, 2024, 6:45am UTC](https://community.exalate.com/t/how-to-sync-time-tracking-from-azure-devops-to-jira/4288/2 "2024-11-04T06:45:04Z")

</div>

_Answer by Ariel Aguilar on 14 July 2021_

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:

```auto
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:

```auto
//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

* * *
