xray_create_test
Creates a new Xray test—Manual, Cucumber, or Generic—from Jira fields, steps, or Gherkin and returns the new test issue ID.
Instructions
Create a new Xray test (Manual, Cucumber, or Generic). Returns a confirmation with the new test issue ID.
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": {
"jira": "<jira>"
},
"name": "xray_create_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jira | Yes | Jira issue fields as JSON (e.g. { "fields": { "project": { "key": "PROJ" }, "summary": "Test name" } }) | |
| steps | No | Initial steps for Manual tests | |
| format | No | Response format: toon (compact, default), json (full), summary (one-line) | toon |
| gherkin | No | Full Gherkin scenario text (for Cucumber tests) | |
| testType | No | Test type (e.g. { "name": "Manual" }) | |
| folderPath | No | Folder path to place the test in (e.g. /Regression) | |
| preconditionIssueIds | No | Precondition issue IDs to associate with this test |