Skip to main content
Glama

markBugResolved

Mark a bug as resolved in ZenTao project management system by updating its status to fixed and adding resolution comments.

Instructions

Mark a bug as resolved (resolution=fixed).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bugIdYesBug ID (required)
commentNoResolution comment

Implementation Reference

  • Executes the markBugResolved tool by sending a POST request to the ZenTao API endpoint `/bugs/{bugId}/resolve` with `{ resolution: 'fixed', comment }` and returns the API response.
    if (name === "markBugResolved") {
      const { bugId, comment } = args;
      const response = await callZenTao({
        path: `bugs/${bugId}/resolve`,
        method: "POST",
        body: { resolution: "fixed", comment },
      });
      return {
        content: [
          {
            type: "text",
            text: JSON.stringify(response, null, 2),
          },
        ],
      };
    }
  • Defines the input schema for the markBugResolved tool: requires bugId (number), optional comment (string).
    inputSchema: {
      type: "object",
      properties: {
        bugId: { type: "number", description: "Bug ID (required)" },
        comment: { type: "string", description: "Resolution comment" },
      },
      required: ["bugId"],
      additionalProperties: false,
    },
  • Registers the markBugResolved tool in the tools list returned by listTools, including name, description, and input schema.
    {
      name: "markBugResolved",
      description: "Mark a bug as resolved (resolution=fixed).",
      inputSchema: {
        type: "object",
        properties: {
          bugId: { type: "number", description: "Bug ID (required)" },
          comment: { type: "string", description: "Resolution comment" },
        },
        required: ["bugId"],
        additionalProperties: false,
      },
    },

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/Valiant-Cat/zentao-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server