Skip to navigation

Merge tickets

Merge other open tickets of the same agent into this pending, in-progress, or resolved one. Their conversations move onto this ticket, its priority is raised to the highest among them, and they are kept with status ‘merged’. Requires viewer access to the ticket’s agent.

Path parameters

agentqa_ticket_idstringRequired

Headers

xi-api-keystringOptional

Request

This endpoint expects an object.
source_ticket_idslist of stringsRequired
Open tickets of the same agent to fold into this one. They are kept with status 'merged', pointing at this ticket.

Response

Successful Response
agentqa_ticket_idstring
workspace_idstring
owner_user_idstring
agent_idstring
needs_clusteringboolean
labelslist of strings
conversation_idslist of strings
ticket_commentslist of objects
turn_commentslist of objects
statusenum
Allowed values:
priority_changeslist of objects
sourceenum
Allowed values:
created_at_unix_secsinteger
updated_at_unix_secsinteger
titlestringOptional

One-line headline for the ticket. None only on tickets created before titles existed.

issue_typeenumOptional
first_seen_unix_secsintegerOptional
last_seen_unix_secsintegerOptional
qa_commentstringOptional
priorityenumOptional
Allowed values:
merged_into_ticket_idstringOptional
The ticket this one was merged into, set while its status is 'merged'.
assignee_user_idstringOptional
search_matchobjectOptional

Where the list's search query matched. Set only on searched lists.

Errors

422
Triage Tickets Merge Request Unprocessable Entity Error