# One way Sync system field to custom field

**URL:** <https://community.exalate.com/t/one-way-sync-system-field-to-custom-field/5011>\
**Category:** General Questions\
**Tags:** status, customfields, migrated\_question\
**Created:** [November 4, 2024, 7:38am UTC](https://community.exalate.com/t/one-way-sync-system-field-to-custom-field/5011 "2024-11-04T07:38:01Z")\
**Posts on this page:** 4\
**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:38am UTC](https://community.exalate.com/t/one-way-sync-system-field-to-custom-field/5011/1 "2024-11-04T07:38:01Z")

</div>

_Originally asked by Destri Weir on 20 January 2022 [(original question)](https://oldcommunity.exalate.com/questions/42831211)_

* * *

I want to sync the Status field from one project to a custom field Engineering status in another project. I only want it to be a one-way sync from project B to project A.

I have this code in my Incoming Sync, but it’s not working:

issue.status = replica.customFields. “Engineering Status”

* * *

---

<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:38am UTC](https://community.exalate.com/t/one-way-sync-system-field-to-custom-field/5011/2 "2024-11-04T07:38:02Z")

</div>

_Answer by Destri Weir on 20 January 2022_

Since I am writing from a list field to a text field, I also tried “issue.customFields.“Engineering Status”?.value = replica.status?.collect{[it.name](http://it.name)}.join(”,“)” in the Incoming Sync, but I am still getting the error above.

* * *

---

<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:38am UTC](https://community.exalate.com/t/one-way-sync-system-field-to-custom-field/5011/3 "2024-11-04T07:38:03Z")

</div>

_Answer by Destri Weir on 20 January 2022_

Salma Nairi

So I made those edits:

Outgoing:

replica.status = issue.status

Incoming:

issue.customFields. “Engineering Status”?.value = replica.status?.name

but I’m now getting this error:

**Jira Cloud error**  
Field Field ‘customfield\_10177’ cannot be set. It is not on the appropriate screen, or unknown.: customfield\_10177.

I verified and that is the ID for the Engineering Status field which is on the project A side. It is on the engineering screen, but it was added after the connection was initiated.

* * *

---

<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:38am UTC](https://community.exalate.com/t/one-way-sync-system-field-to-custom-field/5011/4 "2024-11-04T07:38:04Z")

</div>

_Answer by Salma Nairi on 20 January 2022_

Hi

it should be like that

outgoing

replica.status = issue.status ( you have to send status from project B)

In incoming

issue.customFields. “Engineering Status”?.value ( custom filed on project A) = replica.status?.name ( project B status)

* * *
