xray_add_defects_to_step
Link Jira issue keys as defects to a specific step in an Xray test run for traceable failure tracking.
Instructions
Link Jira issues as defects to a specific step within a test run. For Jira issue fields, use the Atlassian MCP server instead.
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": {
"testRunId": "<testRunId>",
"stepId": "<stepId>",
"issues": "<issues>"
},
"name": "xray_add_defects_to_step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Response format: toon (compact, default), json (full), summary (one-line) | toon |
| issues | Yes | Jira issue keys to link as defects, e.g. ['PROJ-123'] | |
| stepId | Yes | Test run step internal ID | |
| testRunId | Yes | Test run internal ID |