Skip to main content
Glama

jira_delete_issue

Delete a Jira issue by providing its issue key to remove it from your Jira instance.

Instructions

Delete a Jira issue

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
issueKeyYesThe Jira issue key to delete

Implementation Reference

  • Core implementation of the delete issue functionality using DELETE request to Jira REST API /issue/{issueKey}
    async deleteIssue(issueKey: string): Promise<void> { await this.request<void>(`/issue/${issueKey}`, { method: "DELETE", }); }
  • MCP CallTool handler case that validates input with DeleteIssueSchema and delegates to jiraClient.deleteIssue
    case "jira_delete_issue": { const { issueKey } = DeleteIssueSchema.parse(args); await jiraClient.deleteIssue(issueKey); return { content: [ { type: "text", text: `Issue ${issueKey} deleted successfully` }, ], };
  • Zod schema used for input validation in the tool handler
    const DeleteIssueSchema = z.object({ issueKey: z.string().describe("The Jira issue key to delete"), });
  • src/index.ts:296-307 (registration)
    Tool registration entry in ListTools response, defining name, description, and input schema
    name: "jira_delete_issue", description: "Delete a Jira issue", inputSchema: { type: "object", properties: { issueKey: { type: "string", description: "The Jira issue key to delete", }, }, required: ["issueKey"], },

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/yogeshhrathod/JiraMCP'

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