update_issue
Modify existing issues in Zoho Projects by updating title, description, severity, or other fields to reflect current project status and requirements.
Instructions
Update an issue
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project ID | |
| issue_id | Yes | Issue ID | |
| title | No | Issue title | |
| description | No | Issue description | |
| severity | No | Issue severity |
Implementation Reference
- src/index.ts:819-834 (handler)The handler function for 'update_issue' tool. It extracts project_id, issue_id, and other update data from params, makes a PATCH request to the Zoho API endpoint for updating the issue, and returns a success message with the API response.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 definition for the 'update_issue' tool, specifying required project_id and issue_id, and optional fields like title, description, severity.{ 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 switch case in the CallToolRequestSchema handler that registers and dispatches the 'update_issue' tool call to its handler function.case "update_issue": return await this.updateIssue(params);