jira_get_priorities
Retrieve all priority options from your Jira instance to configure issue importance levels and streamline workflow management.
Instructions
Get all available priorities
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:1116-1123 (handler)MCP tool handler case for 'jira_get_priorities' that invokes jiraClient.getPriorities() and formats the response as JSON text.case "jira_get_priorities": { const priorities = await jiraClient.getPriorities(); return { content: [ { type: "text", text: JSON.stringify(priorities, null, 2) }, ], }; }
- src/index.ts:440-447 (registration)Tool registration in listTools handler, including name, description, and empty input schema.{ name: "jira_get_priorities", description: "Get all available priorities", inputSchema: { type: "object", properties: {}, }, },
- src/jira-client.ts:249-251 (helper)JiraClient helper method that performs HTTP request to Jira's /priority endpoint to fetch available priorities.async getPriorities(): Promise<Array<{ id: string; name: string }>> { return this.request<Array<{ id: string; name: string }>>("/priority"); }