Update Ticket Assignee

All API requests should contain authorization headers.

Request

PATCH /tickets/{ticketId}/Assignee

Query Parameters

Name
Type
Required
Comments

ticketId

integer

yes

Id of ticket you want to update.

Request Body

The request body must contain the model with the Id of the teammate (as assigneeId) and the current user assigned to the ticket (as previousAssigneeId). Send assigneeId as null if you want to set the ticket as unassigned.

You can obtain the list of teammates by requesting the corresponding teammates endpoint.

You can retrieve the current assigned user value from the response from get ticket by id endpoint (property lockedBy in the response object).

{
    "assigneeId": "31aee6af-3e38-40d9-98b1-aa2b9238f24d",
    "previousAssigneeId": "null"
}

You cannot assign a user, which is not a part of the team (such as a client, vendor, or read-only user).

Name
Type
Required
Comments

assigneeId

Guid

yes

Unique Id of a teammate who is assigned to the ticket. Set to null if the ticket should be unassigned

previousAssigneeId

Guid

yes

Unique Id of the current teammate who is assigned to the ticket. If the ticket is unassigned, the value should be set to null

Response

{
  "data": {},
  "errorCode": -1,
  "errorText": null
}

Last updated