get_ticket
Retrieves a Zendesk ticket by numeric ID, returning the full ticket object with custom fields. Optionally includes the comment thread when set to true.
Instructions
Fetch one ticket by numeric ID, returning the full ticket object plus named_custom_fields (e.g. ado_work_item_id). Pass include_comments:true to also pull the comment thread inline (otherwise comments are omitted to save tokens — fetch them separately with get_ticket_comments if needed). If you have an email/subject/tag rather than an ID, use search first to find the ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Numeric ticket ID. To find one from email/subject/tag, use `search` first. | |
| include_comments | No | Include the full comment thread in the response. Default false to save tokens on large threads — set true when you need the conversation history. |