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
| Name | Required | Description | Default |
|---|---|---|---|
| issueKey | Yes | The Jira issue key to delete |
Implementation Reference
- src/jira-client.ts:74-78 (handler)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", }); }
- src/index.ts:994-1001 (handler)MCP CallTool handler case that validates input with DeleteIssueSchema and delegates to jiraClient.deleteIssuecase "jira_delete_issue": { const { issueKey } = DeleteIssueSchema.parse(args); await jiraClient.deleteIssue(issueKey); return { content: [ { type: "text", text: `Issue ${issueKey} deleted successfully` }, ], };
- src/index.ts:98-100 (schema)Zod schema used for input validation in the tool handlerconst 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 schemaname: "jira_delete_issue", description: "Delete a Jira issue", inputSchema: { type: "object", properties: { issueKey: { type: "string", description: "The Jira issue key to delete", }, }, required: ["issueKey"], },