custom fields not saving with ticket api

답변함


2021년 5월 28일에 게시됨

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개

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


게시물 댓글 달기가 중지되었습니다.

원하는 정보를 못 찾으셨나요?

새 게시물