Xray Update Test Run
xray_update_test_runUpdate an Xray test run's status, comment, timestamps, assignee, executor, and custom fields to keep Jira test execution results accurate.
Instructions
Update a test run: status, comment, timestamps, assignee, executor and custom fields.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | New status name, e.g. 'PASSED' or 'FAILED'. | |
| comment | No | ||
| started_on | No | ISO 8601 start timestamp. | |
| assignee_id | No | Atlassian account id of the assignee. | |
| finished_on | No | ISO 8601 finish timestamp. | |
| test_run_id | Yes | Test run id, from xray_get_test_execution or xray_get_test_runs. | |
| custom_fields | No | Test run custom fields. | |
| executed_by_id | No | Atlassian account id of the executor. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||