Skip to main content
Glama

get_transitions

Retrieve available status transitions for a Jira issue to determine next workflow steps and manage issue progression through different states.

Instructions

Get available status transitions for a Jira issue

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
issueKeyYesThe issue key (e.g., PROJ-123)

Implementation Reference

  • The handler function that executes the get_transitions tool: fetches available transitions for a Jira issue using the API and formats the response.
    async handleGetTransitions(args: any) { try { const { issueKey } = args; if (!issueKey) { throw new Error('issueKey is required'); } const result = await this.apiClient.get(`/issue/${issueKey}/transitions`); return { content: [ { type: 'text', text: JiraFormatters.formatTransitions(result.transitions), }, ], }; } catch (error: any) { return { content: [ { type: 'text', text: JiraFormatters.formatError(error), }, ], isError: true, }; } }
  • The input schema definition for the get_transitions tool in the tool definitions array.
    name: 'get_transitions', description: 'Get available status transitions for a Jira issue', inputSchema: { type: 'object', properties: { issueKey: { type: 'string', description: 'The issue key (e.g., PROJ-123)', }, }, required: ['issueKey'], }, },
  • src/index.ts:128-129 (registration)
    The switch case registration that dispatches get_transitions tool calls to the appropriate handler method.
    case 'get_transitions': return this.transitionHandlers.handleGetTransitions(request.params.arguments);

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pdogra1299/jira-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server