update_issue
Modify project issue details including title, description, and severity level to track and resolve problems effectively in Zoho Projects.
Instructions
Update an issue
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | No | Issue description | |
| issue_id | Yes | Issue ID | |
| project_id | Yes | Project ID | |
| severity | No | Issue severity | |
| title | No | Issue title |
Implementation Reference
- src/index.ts:819-834 (handler)The core handler function that executes the update_issue tool. It destructures project_id, issue_id, and other update data from params, sends a PATCH request to the Zoho Projects API endpoint for updating the issue, and returns a formatted success response with the API result.private async updateIssue(params: any) { const { project_id, issue_id, ...issueData } = params; const data = await this.makeRequest( `/portal/${this.config.portalId}/projects/${project_id}/issues/${issue_id}`, "PATCH", issueData ); return { content: [ { type: "text", text: `Issue updated successfully:\n${JSON.stringify(data, null, 2)}`, }, ], }; }
- src/index.ts:431-449 (schema)The input schema for the update_issue tool, defining the expected parameters including required project_id and issue_id, and optional title, description, and severity fields with validation.{ name: "update_issue", description: "Update an issue", inputSchema: { type: "object", properties: { project_id: { type: "string", description: "Project ID" }, issue_id: { type: "string", description: "Issue ID" }, title: { type: "string", description: "Issue title" }, description: { type: "string", description: "Issue description" }, severity: { type: "string", description: "Issue severity", enum: ["minor", "major", "critical"], }, }, required: ["project_id", "issue_id"], }, },
- src/index.ts:590-591 (registration)The dispatch registration in the CallToolRequestSchema handler switch statement that routes calls to the 'update_issue' tool to the updateIssue method.case "update_issue": return await this.updateIssue(params);
- src/http-server.ts:822-837 (handler)Identical core handler function for the update_issue tool in the HTTP server variant.private async updateIssue(params: any) { const { project_id, issue_id, ...issueData } = params; const data = await this.makeRequest( `/portal/${this.config.portalId}/projects/${project_id}/issues/${issue_id}`, "PATCH", issueData ); return { content: [ { type: "text", text: `Issue updated successfully:\n${JSON.stringify(data, null, 2)}`, }, ], }; }
- src/http-server.ts:434-451 (schema)Identical input schema for the update_issue tool in the HTTP server variant.{ name: "update_issue", description: "Update an issue", inputSchema: { type: "object", properties: { project_id: { type: "string", description: "Project ID" }, issue_id: { type: "string", description: "Issue ID" }, title: { type: "string", description: "Issue title" }, description: { type: "string", description: "Issue description" }, severity: { type: "string", description: "Issue severity", enum: ["minor", "major", "critical"], }, }, required: ["project_id", "issue_id"], },