# How to sync custom fields from one project to another project and vice-versa in same Jira Cloud?

**URL:** <https://community.exalate.com/t/how-to-sync-custom-fields-from-one-project-to-another-project-and-vice-versa-in-same-jira-cloud/4193>\
**Category:** General Questions\
**Tags:** cloud-jira, migrated\_question\
**Created:** [November 4, 2024, 6:37am UTC](https://community.exalate.com/t/how-to-sync-custom-fields-from-one-project-to-another-project-and-vice-versa-in-same-jira-cloud/4193 "2024-11-04T06:37:45Z")\
**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:37am UTC](https://community.exalate.com/t/how-to-sync-custom-fields-from-one-project-to-another-project-and-vice-versa-in-same-jira-cloud/4193/1 "2024-11-04T06:37:45Z")

</div>

_Originally asked by Deva Kiran Reddy on 06 April 2020 [(original question)](https://oldcommunity.exalate.com/questions/11338904)_

* * *

Hi all,

I am using Jira Cloud where i have two projects need to sync. But when i configured the connection using scripting mode, custom fields are not syncing to projects. Is there any way to sync all the custom fields at a same time from one project to another project? As the two projects has same field configuration in jira.

Please provide me a code to sync all the custom fields data to one project to another project.

Thanks in Advance !!!  
Best Regards  
Deva KiranSource: [Jira Cloud](https://oldcommunity.exalate.com/pages/viewpage.action?pageId=3703235)_(old community)_

* * *

---

<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:37am UTC](https://community.exalate.com/t/how-to-sync-custom-fields-from-one-project-to-another-project-and-vice-versa-in-same-jira-cloud/4193/2 "2024-11-04T06:37:46Z")

</div>

_Answer by Juan Grases on 12 April 2020_

Normally it will work just by doing:

Outgoing sync:

```auto
replica.customFields."CF Name" = issue.customFields."CF Name"

```

Incoming sync:

```auto
issue.customFields."CF Name".value = replica.customFields."CF Name".value

```

Of course make sure yo use the right Custom field name, you can also use the custom field ID instead of the name. You can find more details here:

[https://docs.idalko.com/exalate/display/ED/How+to+Synchronize+Custom+Fields](https://docs.idalko.com/exalate/display/ED/How+to+Synchronize+Custom+Fields)

Best regards,

Juan

* * *
