Merge tickets

Merge one ticket into another and close the source ticket.

MCP tool zendesk_write → merge_tickets

write Confirm

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

Parameters: merge_tickets
NameTypeDescription
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

JSON-RPC

{
  "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

JSON

{
  "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
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.