Problems updating the status of a ticket using python


2 Comentários

  • Paolo
    Zendesk Engineering
    Hi Jose,
    Thank you for providing the error and information about the code. I can see that you are using the custom_status_id property. I just want to confirm if you have activated custom ticket statuses? If this feature is not enabled, you can simply declare the ticket status is solved.

    The custom_status_id is only required if the custom ticket statuses feature is enabled and you'd like to change the ticket status to a custom one. Reference here. In case your custom ticket statuses feature is activated and still getting the error even if you are declaring the correct properties in the payload, I highly suggest reaching out to our Support Team for further checking. 
    Paolo | Technical Support Engineer | Zendesk
  • Jose Ortega

    Hi Paolo,

    As you suggested, I removed the custom_status_id property, but I still had the same problem. I checked the ticket statuses and they were all active.

    Looking at the JSON file of one of the tickets, I realized that the property I had to change was ticket.type and not ticket.ticket_type. After adjusting that part to my code, everything worked perfectly.

    Thank you.



Por favor, entrar para comentar.

Powered by Zendesk