xray_add_defects_to_run
Link Jira issues as defects to a test run by passing its internal ID and an array of issue keys such as PROJ-123, associating each Jira defect with that run's results.
Instructions
Link Jira issues as defects to a test run. Pass an array of Jira issue keys (e.g. PROJ-123). 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": {
"id": "<id>",
"issues": "<issues>"
},
"name": "xray_add_defects_to_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Test run internal ID | |
| 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'] |