add_tests_to_test_plan
Adds one or more tests to an existing Xray test plan using the plan key and test issue keys.
Instructions
Add tests to an existing test plan via Xray GraphQL (requires Xray credentials).
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": {
"plan_key": "<plan_key>",
"test_keys": "<test_keys>"
},
"name": "add_tests_to_test_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_key | Yes | Jira issue key of the test plan (e.g. "PROJ-100") | |
| test_keys | Yes | Test issue keys to add (e.g. ["PROJ-1", "PROJ-2"]) |