Get ticket
glpi_get_ticketFetch a single GLPI ticket by ID, returning its fields with readable names for status, type, priority, category and entity so you can review or triage one help desk request.
Instructions
Retrieve a single ticket by ID. IDs come with names beside them (recipient_name, category_name, entity_name; status_name, type_name, priority_name in the GLPI user's language). Requesters, technicians and observers are not ticket fields: list them with glpi_list_ticket_users (and groups with glpi_list_ticket_groups).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Field set: 'essential' (default, trims internal GLPI fields) or 'all' | |
| format | No | Output format: 'json' (default) or 'markdown' (a table for listings, key/value lines for one item; returned in both the text and the structured result) | |
| ticketId | Yes | Item ID | |
| expand_dropdowns | No | Replace dropdown IDs with their names in place (loses the IDs; by default names are added beside them) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| note | No | Pagination hint: how to fetch the next page | |
| count | No | Items in this page | |
| format | No | 'markdown' when data holds the markdown rendering |