if (firstSync ){ issue.customFields."10012".value = "Exalate" }
Comments:
Juan Grases commented on 16 October 2020
Good news you found a solution. Normally you should also be able to use the custom field name. Are you sure you use the exact name, case sensitive? Also the problem could be that you have many CFs with the same name, in that case using the ID is the way to go.
Andrey Miranda commented on 16 October 2020
thanks i think is that i use the same custom field with different context and with the script search with the name is difficult to find