update_ticket
Update an existing Zendesk ticket with new subject, status, priority, comment, assignee, tags, or custom fields. Optionally apply a macro to set fields and add a comment.
Instructions
Update an existing ticket. Supports named_custom_fields (e.g. ado_work_item_id, pass null to clear) and raw custom_fields. Pass macro_id to apply a macro's field changes and comment as part of the update — explicit fields you also pass will override the macro's values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Ticket ID to update | |
| subject | No | Updated ticket subject | |
| comment | No | New comment to add | |
| priority | No | Updated ticket priority | |
| status | No | Updated ticket status | |
| assignee_id | No | User ID of the new assignee | |
| group_id | No | New group ID for the ticket | |
| type | No | Updated ticket type | |
| tags | No | Updated tags for the ticket | |
| macro_id | No | Macro ID to apply to this ticket. The macro's field changes and comment are merged into this update; any fields you also pass explicitly override the macro's values. | |
| custom_fields | No | Raw Zendesk custom_fields entries ({id, value}). Escape hatch for fields not in the named map. | |
| named_custom_fields | No | Named custom fields. Keys map to Zendesk custom field ids via src/config/custom-fields.js. |