Get Ticket Assignees

Gets a list of the assignees or approvers that are assigned to a specific ticket.

HTTP Request

GET /api/sonar/tickets/:guid/assignees
Request using cURL
curl -H "Authorization: Bearer <API_KEY>" \
     "https://HOSTNAME/api/sonar/tickets/c63ff706-85bc-44e3-9acd-24a0628da1fb/assignees?type=APPROVER"
Request Parameter
KeyRequiredTypeDescriptionNote
typeOStringAssigned roleASSIGNEE or APPROVER

Success Response

{
  "assignees": [
    {
      "company_guid": "6fbe27b7-f1ae-4d7a-a1a5-76d8fa9aa311",
      "company_name": "Logpresso",
      "user_guid": "ffaf431b-653a-4329-8f83-913cbb00342d",
      "user_name": "Joshua",
      "task_type": "APPROVER",
      "task_status": "APPROVED",
      "x_login": null,
      "x_user": null,
      "x_dept": null
    }
  ]
}
  • assignees (Array): List of assignees or approvers
    • company_guid (String): Company (tenant) GUID
    • company_name (String): Company (tenant) name
    • user_guid (String): GUID of the assignee or approver
    • user_name (String): Name of the assignee or approver
    • task_type (String): ASSIGNEE or APPROVER
    • task_status (String): Ticket status
      • For an assignee, one of the following: ASSIGNED, IN_PROGRESS, CLOSED.
      • For an approver, one of the following: ASSIGNED, ASSIGNED, REJECTED.
    • x_login (String): Login user name logged when the assignee/approver account is deleted
    • x_user (String): User name logged when the assignee/approver account is deleted
    • x_dept (String): Department name logged when the assignee/approver account is deleted