Merge tickets
Merge one ticket into another and close the source ticket.
MCP tool zendesk_write → merge_tickets
Merges the source ticket into the target ticket. A merge is permanent and cannot be undone. Both tickets must be below solved, but you can merge into a solved target without reopening it. The source's most recent public comment is carried to the target with a link, other comments are not, and fields such as tags and priority are not carried over. The source is closed and gets the tag closed_by_merge. Without CCs enabled in your Zendesk, both tickets must have the same requester. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| target_ticket_id integer required | integer | Ticket that stays open and receives the merge. |
| source_ticket_id integer required | integer | Ticket that is closed by the merge. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "zendesk_write",
"arguments": {
"operation": "merge_tickets",
"arguments": {
"target_ticket_id": 1,
"source_ticket_id": 1
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"target_ticket_id": 48102,
"source_ticket_id": 48260,
"source_status": "closed",
"source_tags": [
"closed_by_merge"
]
},
"isError": false
}