MCP Tool: get_ticket_statuses

Retrieves all possible statuses for tickets in the Thena platform, optionally filtered by team. Useful for building status dropdowns, validating ticket state transitions, or analytics.

Example Prompt

Show me all ticket statuses for team T88WCYYHPS

Example Prompt (all statuses, no teamId)

Show me all ticket statuses

Input Parameters

NameTypeRequiredDescription
teamIdstringNoThe team ID to fetch ticket statuses for

Response Fields

Below are the fields you may see in a ticket status result:
FieldTypeDescription
idstringUnique status ID
namestringStatus name (e.g., “Open”)
displayNamestringDisplay name for the status
descriptionstringDescription of the status
isDefaultbooleanWhether this is the default status
teamIdstringTeam ID this status belongs to
organizationIdstringOrganization ID this status belongs to
createdAtstring (ISO8601)Creation timestamp
updatedAtstring (ISO8601)Last update timestamp
Other top-level fields in the response:
FieldTypeDescription
dataarrayList of ticket status objects
statusbooleanWhether the request was successful
messagestringStatus message
timestampstringTime the response was generated (ISO8601)

Sample Response

{
  "data": [
    {
      "id": "XKNKDHSJ1058098FSEG2NHBSD19BT",
      "name": "Open",
      "displayName": "Open",
      "description": "Tickets that are open and awaiting prioritization.",
      "isDefault": true,
      "teamId": "T88WCYYHPS",
      "organizationId": "EYYYXCC853",
      "createdAt": "2025-04-23T13:32:45.551Z",
      "updatedAt": "2025-04-23T13:32:45.551Z"
    },
    {
      "id": "XKNKDHSJ10YZXC0EMG11F7TQWZRQS",
      "name": "In progress",
      "displayName": "In progress",
      "description": "Tickets that are currently in progress and being worked on.",
      "isDefault": false,
      "teamId": "T88WCYYHPS",
      "organizationId": "EYYYXCC853",
      "createdAt": "2025-04-23T13:32:45.551Z",
      "updatedAt": "2025-04-23T13:32:45.551Z"
    },
    {
      "id": "XKNKDHSJ10MD9M1JQTKJGXFJK836Q",
      "name": "On hold",
      "displayName": "On hold",
      "description": "Tickets that are currently on hold.",
      "isDefault": false,
      "teamId": "T88WCYYHPS",
      "organizationId": "EYYYXCC853",
      "createdAt": "2025-04-23T13:32:45.551Z",
      "updatedAt": "2025-04-23T13:32:45.551Z"
    },
    {
      "id": "XKNKDHSJ10ZXBHEXAEPG2KZZSX8JN",
      "name": "Closed",
      "displayName": "Closed",
      "description": "Tickets that are closed or resolved.",
      "isDefault": false,
      "teamId": "T88WCYYHPS",
      "organizationId": "EYYYXCC853",
      "createdAt": "2025-04-23T13:32:45.551Z",
      "updatedAt": "2025-04-23T13:32:45.551Z"
    }
  ],
  "status": true,
  "message": "Ticket statuses fetched successfully!",
  "timestamp": "2025-07-24T07:13:55.252Z"
}