Update ticket
update_ticketUpdate a ticket: change its status (open, in_progress, done, wontfix) and/or edit title, description, priority or due date. Closing = status done (resolved) or wontfix (will not be handled); restoreItemStatus: true on a close also sets the item back to "available" (typical after a repair). The due date is dueDate, a calendar day ("2026-08-11"); the legacy dueAt epoch still works; exactly one of the two, and null on either clears the date. Status and due-date changes appear in the ticket's timeline under the connected user's name. Only the reporter, the assignee (or a member of the assigned team) or a ticket manager (responsibleForTickets) can update it; viewers never can. Ticket ids come from list_tickets. Returns the updated ticket in the list_tickets row shape (createdAt, reporterName, webUrl and the ISO date twins included). Idempotent.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ticketId": "<ticketId>"
},
"name": "update_ticket"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dueAt | No | Due date as epoch milliseconds at UTC midnight of the day, or null to clear (legacy form of `dueDate`; exactly one of the two) | |
| title | No | ||
| status | No | New status — done = resolved, wontfix = closed without handling | |
| dueDate | No | Due date as a calendar day, "YYYY-MM-DD" (e.g. "2026-08-11"), or null to clear. A full timestamp is accepted only WITH an explicit offset ("2026-08-11T00:00:00+02:00"), and the server takes the calendar day as seen in that offset; it does no timezone conversion of its own, so an offset-less timestamp is refused. Passing both dueAt and dueDate is an error | |
| priority | No | New priority, or null to clear | |
| ticketId | Yes | Ticket id (from list_tickets) | |
| description | No | New description, or null to clear | |
| restoreItemStatus | No | When closing: also set the item back to "available" (typical after a repair) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Ticket id | |
| type | No | Ticket type: defect | maintenance | … | |
| dueAt | No | Due date, epoch milliseconds | |
| title | No | Ticket title | |
| status | No | Ticket status: open | in_progress | done | wontfix | |
| webUrl | No | Link to this ticket in the web app, for a person to open; `id` is the handle for tool calls. Absent when the deployment has no public address | |
| closedAt | No | Close time, epoch milliseconds | |
| dueAtIso | No | The due date as a plain calendar day, "YYYY-MM-DD". A DAY, not a moment: the server does no timezone conversion | |
| itemName | No | The item the ticket is about | |
| priority | No | low | normal | high | |
| createdAt | No | When the ticket was reported, epoch milliseconds — the "since when is it broken?" answer, and what "newest first" sorts on | |
| closedAtIso | No | The same moment as an ISO-8601 UTC timestamp | |
| primaryCode | No | The item's printed asset code | |
| assigneeName | No | Who it is assigned to | |
| createdAtIso | No | The same moment as an ISO-8601 UTC timestamp — read THIS one; the server does no timezone conversion | |
| reporterName | No | Who reported it. Absent when nobody did — a maintenance plan minted the ticket, or it came from a logged-out QR report |