Skip to main content
Glama

searchIssues

Search for Backlog issues by project ID, keywords, and status to find specific tickets and track progress in project management workflows.

Instructions

Backlogの課題を検索します

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keywordNo検索キーワード
projectIdYesプロジェクトID(数値)
statusNoステータス(未対応、処理中、処理済み、完了)

Implementation Reference

  • MCP tool handler for 'searchIssues': validates input arguments and calls BacklogClient.searchIssues, returning JSON response.
    case 'searchIssues': { const args = this.validateAndCastArguments<SearchIssuesArgs>( request.params.arguments, searchIssuesSchema ); return { content: [ { type: 'text', text: JSON.stringify( await this.backlogClient.searchIssues(args), null, 2 ), }, ], }; }
  • src/index.ts:89-93 (registration)
    Registers the 'searchIssues' tool in the MCP server's listTools response with name, description, and schema.
    { name: 'searchIssues', description: 'Backlogの課題を検索します', inputSchema: searchIssuesSchema, },
  • Defines the JSON schema for searchIssues tool input parameters.
    export const searchIssuesSchema = { type: 'object', properties: { projectId: { type: 'number', description: 'プロジェクトID(数値)', }, keyword: { type: 'string', description: '検索キーワード', }, status: { type: 'array', items: { type: 'string', }, description: 'ステータス(未対応、処理中、処理済み、完了)', }, }, required: ['projectId'], } as const;
  • BacklogClient method that performs the actual HTTP request to search issues using Backlog API.
    async searchIssues(args: SearchIssuesArgs): Promise<BacklogIssue[]> { try { const response = await this.client.get('/issues', { params: { 'projectId[]': [args.projectId], keyword: args.keyword, 'statusId[]': args.status?.map(this.getStatusId), }, }); return response.data; } catch (error) { if (axios.isAxiosError(error)) { throw new Error(`Backlog API error: ${error.response?.data.message ?? error.message}`); } throw error; } }
  • TypeScript interface defining the arguments for searchIssues.
    export interface SearchIssuesArgs { projectId: number; keyword?: string; status?: string[]; }

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