jira_delete_issue
Delete a Jira issue permanently by providing its issue key. Removes the issue and its data from the system.
Instructions
Delete a Jira issue permanently
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issueKey | Yes | The Jira issue key to delete |
Implementation Reference
- src/index.ts:275-288 (registration)Tool registration for 'jira_delete_issue' with input schema requiring issueKey string
{ name: 'jira_delete_issue', description: 'Delete a Jira issue permanently', inputSchema: { type: 'object', properties: { issueKey: { type: 'string', description: 'The Jira issue key to delete', }, }, required: ['issueKey'], }, }, - src/index.ts:471-481 (handler)Handler case for 'jira_delete_issue' that calls getJiraClient().deleteIssue() and returns a success message
case 'jira_delete_issue': { await getJiraClient().deleteIssue(args.issueKey as string); return { content: [ { type: 'text', text: `Successfully deleted issue ${args.issueKey}`, }, ], }; } - src/jira-client.ts:255-257 (helper)JiraClient.deleteIssue() method that sends DELETE request to /issue/{issueKey} using axios
async deleteIssue(issueKey: string): Promise<void> { await this.client.delete(`/issue/${issueKey}`); }