# How to Sync Custom Field Checkboxes from Jira Server to Jira Cloud

**URL:** <https://community.exalate.com/t/how-to-sync-custom-field-checkboxes-from-jira-server-to-jira-cloud/4856>\
**Category:** General Questions\
**Tags:** exalate, jira-cloud, customfields, custom-fields, jiraserver\
**Created:** [November 4, 2024, 7:27am UTC](https://community.exalate.com/t/how-to-sync-custom-field-checkboxes-from-jira-server-to-jira-cloud/4856 "2024-11-04T07:27:55Z")\
**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:27am UTC](https://community.exalate.com/t/how-to-sync-custom-field-checkboxes-from-jira-server-to-jira-cloud/4856/1 "2024-11-04T07:27:55Z")

</div>

_Originally asked by Gilbert Humarang on 16 September 2021 [(original question)](https://oldcommunity.exalate.com/questions/37552376)_

* * *

I sync multiple ticket from Jira Server to Jira Cloud with a Custom Field Checkboxes. However, the ticket that I sync to Jira Cloud did not showed the checkboxes options that I selected from Jira Server. I’m not familiar with scripting. Would you be able to help me with the correct scripts or syntax?

Example:

Exalate Sync

Jira Server Ticket # IT-300  
Type of Services: Network, Infrastructure, Application

Result

Jira Cloud Ticket # IT-30  
Types of Services: None

Jira Server Custom Field Checkboxes:

Checkbox Custom Field = Type of Services  
Options:  
Helpdesk  
Application  
Network  
Infrastructure  
Cloud

Scripts:

Jira Server Source (Outgoing)  
replica.customFields.“Types of Services” = issue.customFields.“Types of Services”

Jira Cloud Destination  
Incoming  
def checkboxCollection = replica.customFields.“Types of Services”.  
value?.  
collect{  
a-\>  
nodeHelper.getOption (issue, “Types of Services”, a.value)  
}  
issue.customFields.“Types of Services”.value = checkboxCollection

* * *

#### Comments:

> **Ariel Aguilar commented on 17 September 2021**
>
> > Hi Gilbert,
> 
> This script is just fine, what you are doing on the Jira Incoming script is to collect all values of the remote checkbox and find the corresponding value, however it will ignore in case the value is not found. Are the values exactly the same on both sides? If not, you might need to add a mapping or an additional condition.
> 
> Kind regards,
> 
> Ariel

> **Gilbert Humarang commented on 17 September 2021**
>
> > Hi Ariel,
> 
> The value on both side is the same (identical).

> **Gilbert Humarang commented on 17 September 2021**
>
> > In which part of the scripts I will put the value. Would you be able to provide or add in the scripts I provided? Example of the value are the following:
> 
> Helpdesk
> 
> Network
> 
> Cloud
> 
> Infrastructure
> 
> Application

> **Jose Lobo commented on 21 September 2021**
>
> > HEy Gilbert Humarang
> 
> Do you have the checkbox options on both ends?

---

<div class="post-metadata">

**Author:** ![Majid](https://dub1.discourse-cdn.com/flex018/user_avatar/community.exalate.com/majid/32/343_2.png) [@Majid](https://community.exalate.com/u/Majid)\
**Post date:** [December 4, 2024, 9:20am UTC](https://community.exalate.com/t/how-to-sync-custom-field-checkboxes-from-jira-server-to-jira-cloud/4856/2 "2024-12-04T09:20:27Z")

</div>


