1
0
-1

Hi,


Im trying to sync a Custom Field from Jira to Zendesk. 

Outgoing JIRA:

replica.customFields."Market" = issue.customFields."Market"

Market Value: 

Middle East

Nordics

South Africa

United Kingdom & Ireland


Incoming Zendesk;

issue.customFields."Market".value = replica.customFields."Market".value


When i run the the script, im getting below as a result in the field: 
BasicHubOption{id='17909', value=South Africa, sequence='23', disabled='false'}


I only need the "Region" name as shown above to be visible in Zendesk field. How can i make this happen?


BR
Dinesh 

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Hi Dinesh,


      Could you try the following in your Incoming sync of Zendesk?


      issue.customFields."Market".value = replica.customFields."Market".value.value


        CommentAdd your comment...