Xray Update Test Run Defects
xray_update_test_run_defectsLink or unlink Jira defect issues to a Xray test run by specifying the test run ID and defect keys to add or remove.
Instructions
Link and/or unlink defects on a test run.
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": {
"test_run_id": "<test_run_id>"
},
"name": "xray_update_test_run_defects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | Defect issue keys or ids to link. | |
| remove | No | Defect issue keys or ids to unlink. | |
| test_run_id | Yes | Test run id, from xray_get_test_execution or xray_get_test_runs. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||