xray_add_tests_to_precondition
Links one or more tests to an Xray precondition so the precondition appears as a setup requirement for those tests. Use it to make prerequisites explicit in your test management.
Instructions
Link one or more tests to an Xray precondition. The precondition will appear as a setup requirement for the linked tests.
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": {
"issueId": "<issueId>",
"testIssueIds": "<testIssueIds>"
},
"name": "xray_add_tests_to_precondition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Response format: toon (compact, default), json (full), summary (one-line) | toon |
| issueId | Yes | Precondition issue key, e.g. PROJ-123 | |
| testIssueIds | Yes | Issue keys of tests to link to this precondition |