create-test-case
Creates a new test case with name, description, tags, links, members, status, automation, precondition, and expected result in a specified project.
Instructions
Create a new test case. Supports setting name, description, tags, links, and members. For custom fields, issues, relations, requirements, and test keys — create the test case first, then use dedicated set-* tools.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Test case name | |
| tags | No | Tags | |
| links | No | External links | |
| members | No | Members with roles (user IDs and role IDs) | |
| fullName | No | Full name (e.g. class path) | |
| statusId | No | Status ID (get from workflow). Common: Active, Draft, Deprecated | |
| automated | No | Is automated | |
| projectId | Yes | Project ID (required) | |
| description | No | Description | |
| testLayerId | No | Test layer ID. Common layers: UI, API, Unit | |
| precondition | No | Precondition | |
| expectedResult | No | Expected result |