Suppress Epic Color field sync

Originally asked by Stephen Sayler on 30 June 2022 (original question)


I’m syncing Jira Cloud A to Jira Cloud B. Is it possible to suppress Epic Color sync, so that we can have independent epic color choices on each side of the integration?

I tried this in the Incoming section in an attempt to ignore whatever color is set on the replica, but it did not work.

issue.customFields.“Epic Color” = issue.customFields.“Epic Color”


Comments:

Ariel Aguilar commented on 05 July 2022

Hi Stephen,

Have you tried the following?:

if(replica.customFields."Epic Color"){
issue.customFields."Epic Color".value = null
}

Or even:

if(replica.customFields."Epic Color"){
issue.customFields."Epic Color".value = "green"
}

Kind regards,

Ariel