Skip to main content
Glama

getIssue

Retrieve specific Backlog issues by ID to access detailed information, status updates, and project tracking data for effective issue management.

Instructions

特定のBacklog課題を取得します

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
issueIdYes課題のID(例: PROJECT-1)

Implementation Reference

  • MCP CallTool handler for 'getIssue': validates arguments using getIssueSchema, calls BacklogClient.getIssue(args), and returns the result as JSON string in text content.
    case 'getIssue': { const args = this.validateAndCastArguments<GetIssueArgs>( request.params.arguments, getIssueSchema ); return { content: [ { type: 'text', text: JSON.stringify( await this.backlogClient.getIssue(args), null, 2 ), }, ], }; }
  • JSON Schema definition for the input arguments of the getIssue tool, requiring 'issueId'.
    export const getIssueSchema = { type: 'object', properties: { issueId: { type: 'string', description: '課題のID(例: PROJECT-1)', }, }, required: ['issueId'], } as const;
  • src/index.ts:94-98 (registration)
    Registration of the 'getIssue' tool in the ListTools response, including name, description, and input schema reference.
    { name: 'getIssue', description: '特定のBacklog課題を取得します', inputSchema: getIssueSchema, },
  • Core helper function in BacklogClient that performs the actual API GET request to fetch the issue by ID and handles errors.
    async getIssue(args: GetIssueArgs): Promise<BacklogIssue> { try { const response = await this.client.get(`/issues/${args.issueId}`); return response.data; } catch (error) { if (axios.isAxiosError(error)) { throw new Error(`Backlog API error: ${error.response?.data.message ?? error.message}`); } throw error; } }

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/jootsuki/backlog-mcp-server'

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