jira_get_statuses
Retrieve all available statuses from your Jira instance to understand workflow states and track issue progress across projects.
Instructions
Get all available statuses
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/jira-client.ts:254-256 (handler)Core handler function that fetches all available Jira statuses by making an API request to the '/status' endpoint.async getStatuses(): Promise<Array<{ id: string; name: string }>> { return this.request<Array<{ id: string; name: string }>>("/status"); }
- src/index.ts:1125-1130 (handler)MCP server tool call handler for 'jira_get_statuses' that invokes the JiraClient method and formats the response as MCP content.case "jira_get_statuses": { const statuses = await jiraClient.getStatuses(); return { content: [{ type: "text", text: JSON.stringify(statuses, null, 2) }], }; }
- src/index.ts:448-455 (registration)Tool registration in the listTools handler, defining the tool name, description, and empty input schema (no parameters required).{ name: "jira_get_statuses", description: "Get all available statuses", inputSchema: { type: "object", properties: {}, }, },