update_ticket
Update a support request's status or assignee, applying role-based permissions to resolve or reassign tickets.
Instructions
Create and manage support tickets with DoiT. Partially updates a support request. Supports setting the request
status and/or assignee. DoiT employees may set any of open,
pending, hold, or solved and may set the assignee; customers may
set only solved (parity with the console "mark as resolved" action)
and may not set an assignee. closed is not settable via the API
(Zendesk auto-closes from solved). The assignee is a DoiT-employee
email, resolved server-side to a Zendesk agent; an email that does not
resolve to an active agent returns 400. At least one mutable field
must be present. The response echoes the fields that were applied.
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 |
|---|---|---|---|
| status | No | The status to set on the request. | |
| assignee | No | Email of the DoiT employee to assign the request to, resolved to a Zendesk agent. DoiT employees only. | |
| ticketId | Yes | ||
| customerContext | No | Scope the request to a specific customer by ID. Required for DoiT employees (whose token isn't tied to a single customer); omit for direct customer users. |