# How to sync custom field from Jira cloud to custom field on Azure devops

**URL:** <https://community.exalate.com/t/how-to-sync-custom-field-from-jira-cloud-to-custom-field-on-azure-devops/5074>\
**Category:** General Questions\
**Tags:** cloud-jira, cloud-azuredevops, customfields, migrated\_question\
**Created:** [November 4, 2024, 7:41am UTC](https://community.exalate.com/t/how-to-sync-custom-field-from-jira-cloud-to-custom-field-on-azure-devops/5074 "2024-11-04T07:41:52Z")\
**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, 7:41am UTC](https://community.exalate.com/t/how-to-sync-custom-field-from-jira-cloud-to-custom-field-on-azure-devops/5074/1 "2024-11-04T07:41:52Z")

</div>

_Originally asked by Jónheiður Ísleifsdóttir on 24 February 2022 [(original question)](https://oldcommunity.exalate.com/questions/42833423)_

* * *

Hi,

I am still having issues with custom field syncing. I managed to sync custom fields from Jira cloud to Azure devops using the ID in the outgoing sync and the following line in incoming:

workItem.summary = replica.customFields.“10225”?.value

But then I have tried all sorts of versions of getting a regular field from Jira cloud to a custom field in ADO. The documentation on this can be quite confusing because I am never sure which documentation to use since you have no examples of between systems sync. This would be really helpful and if you do have this please share.

So on ADO side I have found that  
workItem.summary = replica.summary //works for regular field to regular field  
workItem.description = replica.customFields.“10226”?.value //works for custom field to regular field

but how do I do regular field to custom field in incoming ADO? I have tried  
workItem.customFields.“Custom.Originalsummary”.value = replica.summary  
but this always gives error: Cannot set property ‘value’ on null object

and I would also really like to know how to do custom field to custom field. I have tried  
workItem.customFields.“Custom.Type”.value = replica.customFields.“10225”?.value //error: Cannot set property ‘value’ on null object  
and  
workItem.customKeys.“Custom.Originaldescription”.value = replica.customFields.“10225”?.value ////error: Cannot set property ‘value’ on null object

Do I need to do some combination on customKeys and customfields in the incoming on ADO side as well as the outgoing? I simply do not understand this so any documentation would be appreciated.

Best regards, Jónheiður

* * *

---

<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, 7:41am UTC](https://community.exalate.com/t/how-to-sync-custom-field-from-jira-cloud-to-custom-field-on-azure-devops/5074/2 "2024-11-04T07:41:53Z")

</div>

_Answer by Jónheiður Ísleifsdóttir on 24 February 2022_

I figured this our from another answer here on the forum. It seems that in incoming script on ADO side it enough run this to add value to a custom field:

workItem.“Custom.Originalsummary” = replica.summary

The Custom.NameOfField you can get from Edit field \> Options tab in the field configuration for your ADO process.

* * *
