xray_import_feature_files
Import Cucumber .feature files into Xray Cloud to create or update test cases in a specified Jira project. Pass the full file content as a string with a required project key.
Instructions
Import Cucumber .feature files into Xray Cloud to create or update test cases. Read the .feature file via your Read tool and pass the full content as a string. The projectKey parameter is required to specify which Jira project to import tests into. Note: If text/plain content type fails, the fallback is multipart/form-data wrapping.
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": {
"content": "<content>",
"projectKey": "<projectKey>"
},
"name": "xray_import_feature_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Response format: toon (compact, default), json (full), summary (one-line) | toon |
| content | Yes | Cucumber .feature file content as a string | |
| projectKey | Yes | Jira project key (required) |