1
0
-1

Hello all,

I am trying to fill a dropdown field in Zendesk. But I get the message when I try the following

 "nodeHelper.getOption is not supported on zendesk, just assign the string value directly " How can I implement this in Zendesk?


Current script:

def MandantMap = ["Global": "Group Global", "Europa": "Group Europe", "DE / AT":"Group DE / AT"] 
def remoteMandant = replica.customFields."mandant"?.value?.value

def mandantOption = nodeHelper.getOption(issue, "360029941496", MandantMap[remoteMandant])
issue.customFields."360029941496".value = mandantOption
    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Hi Florian,

      If this mapping is on Zendesk you should double-check the field values under Zendesk ticket fields options. You need to go to Ticket Fields, find the Dropdown field to edit it.  Once you do "show tags" you should be able to see and use the actual value needed for the mapping. But in general, your script looks good. Just make sure to update the values on the right side of the mapping pairs.

      Example:

      Kind regards,

      Ariel

        CommentAdd your comment...