get_issue
Retrieve details about a specific issue from Backlog project management using either its numeric ID or issue key to access project information.
Instructions
Returns information about a specific issue
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issueId | No | The numeric ID of the issue (e.g., 12345) | |
| issueKey | No | The key of the issue (e.g., 'PROJ-123') |
Implementation Reference
- src/tools/getIssue.ts:38-44 (handler)The async handler function that resolves the issue identifier (ID or key) and retrieves the issue details using the Backlog client.handler: async ({ issueId, issueKey }) => { const result = resolveIdOrKey('issue', { id: issueId, key: issueKey }, t); if (!result.ok) { throw result.error; } return backlog.getIssue(result.value); },
- src/tools/getIssue.ts:8-21 (schema)Zod input schema for the get_issue tool, defining optional issueId (number) or issueKey (string) parameters.const getIssueSchema = buildToolSchema((t) => ({ issueId: z .number() .optional() .describe( t('TOOL_GET_ISSUE_ISSUE_ID', 'The numeric ID of the issue (e.g., 12345)') ), issueKey: z .string() .optional() .describe( t('TOOL_GET_ISSUE_ISSUE_KEY', "The key of the issue (e.g., 'PROJ-123')") ), }));
- src/tools/tools.ts:93-93 (registration)Instantiation and registration of the get_issue tool within the 'issue' toolset group.getIssueTool(backlog, helper),