Skip to main content
Glama

get-issue

Retrieve detailed information about a specific issue from a project in Plane.so to access status, descriptions, and related data for project management.

Instructions

Get detailed information about a specific issue

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesID of the project containing the issue
issue_idYesID of the issue to retrieve

Implementation Reference

  • Handler for the 'get-issue' tool: validates project_id and issue_id arguments, calls Plane API to fetch the issue details, and returns the JSON response.
    case "get-issue": {
      if (
        !args ||
        typeof args.project_id !== "string" ||
        typeof args.issue_id !== "string"
      ) {
        throw new Error("Project ID and Issue ID are required");
      }
      const { project_id, issue_id } = args;
      const issue = await callPlaneAPI(
        `/projects/${project_id}/issues/${issue_id}/`,
        "GET"
      );
      return {
        content: [{ type: "text", text: JSON.stringify(issue, null, 2) }],
        isError: false,
      };
    }
  • Schema definition for the 'get-issue' tool, specifying required project_id and issue_id inputs.
    const GET_ISSUE_TOOL: Tool = {
      name: "get-issue",
      description: "Get detailed information about a specific issue",
      inputSchema: {
        type: "object",
        properties: {
          project_id: {
            type: "string",
            description: "ID of the project containing the issue",
          },
          issue_id: {
            type: "string",
            description: "ID of the issue to retrieve",
          },
        },
        required: ["project_id", "issue_id"],
      },
    };
  • src/index.ts:262-271 (registration)
    Registration of the 'get-issue' tool in the listTools handler response, including it in the available tools list.
    server.setRequestHandler(ListToolsRequestSchema, async () => ({
      tools: [
        LIST_PROJECTS_TOOL,
        GET_PROJECT_TOOL,
        CREATE_ISSUE_TOOL,
        LIST_ISSUES_TOOL,
        GET_ISSUE_TOOL,
        UPDATE_ISSUE_TOOL,
      ],
    }));

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/kelvin6365/plane-mcp-server'

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