Open Context Protocol is live! 🚀 Read the launch post

deleteIssue

Delete issue

Details

  • Method: DELETE
  • Path: /rest/api/3/issue/{issueIdOrKey}
  • Operation ID: deleteIssue

Parameters

{
  "issueIdOrKey": {
    "description": "The ID or key of the issue.",
    "required": true,
    "location": "path",
    "type": "string"
  },
  "deleteSubtasks": {
    "description": "Whether the issue's subtasks are deleted when the issue is deleted.",
    "required": false,
    "location": "query",
    "type": "string",
    "enum": [
      "true",
      "false"
    ]
  }
}

Usage

from ocp_agent import OCPAgent

agent = OCPAgent()
await agent.register_api('jira')

# Call this tool
result = await agent.call_tool('deleteIssue', {
    # Add required parameters here
})