get_ticket
Fetch a support ticket by its numeric ID, returning full ticket details and named custom fields. Optionally include the comment thread for conversation history.
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. |