custom fields not saving with ticket api

Respondido


Publicado 28 de mai. de 2021

I was trying to create a ticket thorugh ticket api and I have created 3 custom fields in my zendesk account.

I was submitting these 3 fields with api , but ticket is created but the custom fields value is not saving and its showing blank on unsolved tickets listing.

While I try to create a ticket through form, and I tried to flll that custom field, it is saving.

I dont know why its working with form but not working with API.

can you please suggest me what is wrong here?


0

1

1 comentário

Hi Sejal,

Generally speaking, custom fields use a slightly different syntax when setting via the Ticket API: https://developer.zendesk.com/documentation/ticketing/managing-tickets/creating-and-updating-tickets/#setting-custom-field-values

Ensuring that you have a "custom_fields" array with each custom field's ID and value specified would be a good starting point. You can also test each custom field individually and see if the issue coming from a specific custom field.

If you're still expericing issue upon following the article above, feel free to use the live chat widget on our main page (support.zendesk.com/hc) and our support specialists will be able to assist and investigate further.

Eric G. Gao | Technical Support Architect | Zendesk

0


Publicação fechada para comentários.

Não encontrou o que estava procurando?

Nova publicação