create_environment
Create a Zephyr Scale environment in a Jira project for test management. The case-sensitive, project-unique name is used by other tools to reference it in test results.
Instructions
Create a Zephyr Scale environment in a project (POST /environments). The name must be unique within the project — a duplicate is rejected with 400 — and is the string other tools use to reference the environment, so create it with the exact casing you intend to pass to test results. Returns the created environment object as the API sends it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Environment name, unique within the project and case-sensitive, e.g. "Chrome" | |
| projectKey | No | Jira project key, e.g. "PROJ"; defaults to ZEPHYR_DEFAULT_PROJECT_KEY when omitted | |
| description | No | Free-text description of the environment |