get_issue
Retrieve detailed information about a specific project issue using project ID and issue ID to access complete issue data and status.
Instructions
Get details of a specific issue
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issue_id | Yes | Issue ID | |
| project_id | Yes | Project ID |
Implementation Reference
- src/index.ts:793-800 (handler)The handler function that implements the core logic of the 'get_issue' tool by calling the Zoho API to retrieve specific issue details and formatting the response as MCP content.private async getIssue(projectId: string, issueId: string) { const data = await this.makeRequest( `/portal/${this.config.portalId}/projects/${projectId}/issues/${issueId}` ); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }], }; }
- src/index.ts:400-411 (registration)Registers the 'get_issue' tool in the ListTools response, providing the name, description, and input schema.{ name: "get_issue", description: "Get details of a specific issue", inputSchema: { type: "object", properties: { project_id: { type: "string", description: "Project ID" }, issue_id: { type: "string", description: "Issue ID" }, }, required: ["project_id", "issue_id"], }, },
- src/index.ts:586-587 (registration)Dispatches execution of the 'get_issue' tool to the handler method in the CallToolRequest handler.case "get_issue": return await this.getIssue(params.project_id, params.issue_id);
- src/http-server.ts:796-803 (handler)Identical handler function for the 'get_issue' tool in the HTTP server variant.private async getIssue(projectId: string, issueId: string) { const data = await this.makeRequest( `/portal/${this.config.portalId}/projects/${projectId}/issues/${issueId}` ); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }], }; }
- src/http-server.ts:404-414 (registration)Tool registration for 'get_issue' in the HTTP server variant.name: "get_issue", description: "Get details of a specific issue", inputSchema: { type: "object", properties: { project_id: { type: "string", description: "Project ID" }, issue_id: { type: "string", description: "Issue ID" }, }, required: ["project_id", "issue_id"], }, },