Unable to get value from custom fields through ZAF client
RespondidaI am trying to get documentCaptureURL which is a custom field (78069627) declared in our app, even though the custom field carries the value which shows in the zendesk UI (left hand side panel), but below json doesn't show the value when I try to get using zendesk api as below
zatClient.get('ticketFields:custom_field_78069627')
"ticketFields:custom_field_78069627": {
"hasOptions": false,
"isRequired": false,
"isVisible": true,
"label": "Document Capture URL",
"name": "custom_field_78069627",
"type": "text",
"isEnabled": true,
"requiredOnStatuses": []
}
-
Hi Ron McClung,
To get the field value, use
client.get('ticket.customField:custom_field_78069627')
The syntax you are using is helpful to get the custom field object itself to query its type, properties, etc.
-
Thanks
Por favor, entrar para comentar.
2 Comentários