Xray Update Test Run Step
xray_update_test_run_stepRecords or updates a Jira Xray test run step result, capturing status, comment, actual result, linked defects, and evidence.
Instructions
Record the result of one test run step: status, comment, actual result, defects and evidence.
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>",
"step_id": "<step_id>"
},
"name": "xray_update_test_run_step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Step status name, e.g. 'PASSED'. | |
| comment | No | ||
| step_id | Yes | Step id of the test run step, from xray_get_test_run. | |
| add_defects | No | Defect keys or ids to link. | |
| test_run_id | Yes | Test run id, from xray_get_test_execution or xray_get_test_runs. | |
| add_evidence | No | ||
| actual_result | No | ||
| iteration_rank | No | Iteration rank for data-driven runs, from xray_get_test_run. | |
| remove_defects | No | Defect keys or ids to unlink. | |
| remove_evidence_ids | No | ||
| remove_evidence_filenames | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||