Create or update suite
qase_suite_upsertCreate a new test suite or update an existing one to organize test cases into folders, nesting suites under a parent ID when needed.
Instructions
Create or update a test suite — the folder cases live in. With id it updates, without it creates; nest with parent_id. The existing tree comes back from qase_project_context, so read it rather than guess parent IDs. Cost: one API call, about 0.5s.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Suite ID — if provided, updates; if omitted, creates | |
| code | Yes | Project code, e.g. DEMO | |
| title | Yes | Suite title | |
| parent_id | No | Parent suite ID for nesting | |
| description | No | What this suite groups — shown under the suite title in the tree | |
| preconditions | No | Setup every case in this suite assumes, inherited by its child suites |