xray_create_precondition
Create a new Xray precondition issue that defines setup requirements, such as a logged-in user or seeded database, that must be satisfied before tests execute.
Instructions
Create a new Xray precondition issue. Preconditions define setup requirements (e.g. user logged in, database seeded) that must be satisfied before tests can execute.
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_precondition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jira | Yes | Jira fields JSON, e.g. { "fields": { "project": { "key": "PROJ" }, "summary": "My precondition" } } | |
| format | No | Response format: toon (compact, default), json (full), summary (one-line) | toon |
| definition | No | Precondition definition/steps text | |
| folderPath | No | Folder path for the precondition | |
| testIssueIds | No | Issue IDs of tests to link to this precondition | |
| preconditionType | No | Precondition type, e.g. { "name": "Manual" } |