delete_test_case
Permanently delete a Jira test case by key, including its script and execution history, when you need irreversible cleanup via the API. This does not check inbound references.
Instructions
Permanently delete a test case (DELETE /testcase/{testCaseKey}). Irreversible: the case, its script and its execution history cannot be restored through the API. Inbound references are NOT checked: a case that other cases invoke as a "Call to Test" step is deleted anyway and those steps keep pointing at a key that no longer resolves. Returns { deleted: true, key }.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"testCaseKey": "<testCaseKey>"
},
"name": "delete_test_case"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| testCaseKey | Yes | Test case key, e.g. PROJ-T123 |