Update Zendesk Ticket
update_ticketUpdate a Zendesk ticket by modifying status, priority, assignee, subject, tags, custom fields, followers, or email CCs. Only changed fields apply; returns the updated ticket.
Instructions
Update an existing ticket (status, priority, type, assignee, group, subject, tags, custom fields, followers, email CCs). Only the fields you pass are changed, and the updated ticket is returned. Followers and email CCs are incremental instead of replacing: pass { add, remove } lists of user ids, and the response reports who is subscribed afterwards. Zendesk applies those two silently, so a requested change it did not apply comes back listed as unconfirmed rather than raised as an error. Setting tags here replaces the whole tag set — use manage_tags to add or remove individual tags without overwriting the rest. This tool does not post replies: use add_public_comment or add_private_note for that. Find the ticket id via search_tickets or list_tickets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Replaces the full tag set on the ticket. Use manage_tags for incremental add/remove. | |
| type | No | Ticket type. One of problem, incident, question, task. | |
| status | No | New ticket status. One of new, open, pending, hold, solved, closed. | |
| subject | No | New subject line for the ticket; replaces the current subject when provided. | |
| group_id | No | Id of the group to assign the ticket to. | |
| priority | No | Ticket priority. One of urgent, high, normal, low. | |
| email_ccs | No | End users or agents to add to or remove from the ticket's email CC list, as numeric user ids: { add: [123], remove: [456] }. CCs receive the ticket's public correspondence, subject to your account's triggers. Numeric ids only, no email addresses: resolve the person with search_users first and confirm the match, because a name query can return several users. Zendesk caps a ticket at 48 email CCs and this tool cannot know how many are already set, so going over shows up as an unconfirmed entry in the response rather than a validation error. An id listed in both add and remove is removed. Omit to leave CCs untouched. | |
| followers | No | Agents to add to or remove from the ticket's follower list, as numeric user ids: { add: [123], remove: [456] }. Followers are notified of ticket updates, internal notes included, so this controls who hears about the ticket. Numeric ids only, no email addresses: resolve the person with search_users first and confirm the match before writing, because a name query can return several users and removing the wrong id succeeds silently. Adding someone already following, or removing someone who is not, is a no-op. An id listed in both add and remove is removed. Omit to leave followers untouched. | |
| ticket_id | Yes | Ticket ID — the numeric id of the ticket to update. Obtain it from search_tickets or list_tickets. | |
| assignee_id | No | User id of the agent to assign the ticket to. | |
| custom_fields | No | Custom field values as { id, value } pairs (field ids come from your Zendesk admin settings). Call list_ticket_fields first to discover the numeric field ids and, for dropdown/multiselect fields, the exact option values Zendesk accepts. |