upload_cucumber_results
Publish Cucumber execution results from a local ZIP to Jira/Zephyr; scenarios match test cases via @TestCaseKey tags, and a new test cycle is created.
Instructions
Publish Cucumber execution results from a local ZIP archive (POST multipart/form-data /automation/execution/cucumber/{projectKey}). The archive must hold the output of Cucumber's built-in json formatter (one or more .json report files). Every scenario must carry a @TestCaseKey=PROJ-T1 tag naming the BDD test case it reports on — that tag is how the server matches a scenario to an existing test case. Always creates a NEW test cycle (test run) — it never appends to an existing one — and returns the API description of that cycle unchanged, or { uploaded: true } for an empty body.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path of the results .zip archive on the machine running this MCP server (absolute path recommended) | |
| projectKey | No | Jira project key, e.g. "PROJ"; defaults to ZEPHYR_DEFAULT_PROJECT_KEY when omitted | |
| autoCreateTestCases | No | Create the test cases referenced by the results that do not exist in the project yet (server default: false). Omitted from the query string entirely when not passed. Verified live: this only affects executions that identify the case by testCase.name with NO key — an explicit testCase.key that does not exist fails with 400 "Test Case with key X not found." whether the flag is true or false. |