Update ticket

Update a ticket’s title, comment, status, priority, and/or assignee. Requires editor access to the ticket’s agent.

路径参数

agentqa_ticket_idstring必需

请求头

xi-api-keystring可选

请求

This endpoint expects an object.
titlestring可选1-120 characters
If provided, updates the ticket title. Omit to leave unchanged.
statusenum可选
If provided, updates the ticket status. Omit to leave unchanged.
允许的值:
assignee_user_idstring可选
If provided, updates who is responsible for resolving this ticket. Must be a workspace member with at least viewer access to the agent. Pass null to unassign. Omit to leave unchanged.
priorityenum可选
If provided, updates how urgently the ticket needs attention. Pass null to clear it. Omit to leave unchanged.
允许的值:

响应

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
允许的值:
priority_changeslist of objects
sourceenum
允许的值:
created_at_unix_secsinteger
updated_at_unix_secsinteger
titlestring可选

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

issue_typeenum可选
first_seen_unix_secsinteger可选
last_seen_unix_secsinteger可选
qa_commentstring可选
priorityenum可选
允许的值:
assignee_user_idstring可选

错误

422
Triage Tickets Update Request Unprocessable Entity Error