Skip to main content
Glama

updateIssue

Modify Backlog issue details including status, description, and comments using the issue ID to track project tasks.

Instructions

Backlog課題を更新します

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
issueIdYes課題のID(例: PROJECT-1)
statusNo新しいステータス
descriptionNo課題の説明
commentNo更新時のコメント

Implementation Reference

  • Core handler function that performs the PATCH request to update a Backlog issue using the provided arguments.
    async updateIssue(args: UpdateIssueArgs): Promise<BacklogIssue> { try { const params: Record<string, any> = {}; if (args.status) { params.statusId = this.getStatusId(args.status); } if (args.comment) { params.comment = args.comment; } if (args.description !== undefined) { params.description = args.description; } const response = await this.client.patch(`/issues/${args.issueId}`, params); return response.data; } catch (error) { if (axios.isAxiosError(error)) { throw new Error(`Backlog API error: ${error.response?.data.message ?? error.message}`); } throw error; } }
  • MCP server handler for the 'updateIssue' tool call, which validates arguments and delegates to BacklogClient.updateIssue.
    case 'updateIssue': { const args = this.validateAndCastArguments<UpdateIssueArgs>( request.params.arguments, updateIssueSchema ); return { content: [ { type: 'text', text: JSON.stringify( await this.backlogClient.updateIssue(args), null, 2 ), }, ], }; }
  • src/index.ts:99-103 (registration)
    Registration of the 'updateIssue' tool in the ListTools response, including name, description, and input schema.
    { name: 'updateIssue', description: 'Backlog課題を更新します', inputSchema: updateIssueSchema, },
  • Input schema definition for the updateIssue tool, used for validation.
    export const updateIssueSchema = { type: 'object', properties: { issueId: { type: 'string', description: '課題のID(例: PROJECT-1)', }, status: { type: 'string', description: '新しいステータス', }, description: { type: 'string', description: '課題の説明', }, comment: { type: 'string', description: '更新時のコメント', }, }, required: ['issueId'], } as const;
  • TypeScript interface defining the arguments for updateIssue.
    export interface UpdateIssueArgs { issueId: string; status?: string; description?: string; comment?: string; }
Install Server

Other Tools

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