Create case review
qase_review_createOpen a test case review to propose edits to an existing case or draft a new one; pass case_id for changes, omit it for new cases.
Instructions
Open a test case review — the pull-request flow for cases. Pass case_id to propose changes to an existing case (send only the fields that change), or omit it to propose a new one. Several at once? Use qase_review_bulk_create. The API has no endpoints for approving, merging or declining — those are UI-only; read status with qase_review_list. Cost: one API call, about 0.5s.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Project code, e.g. DEMO | |
| tags | No | Tag names, e.g. ["smoke", "billing"] | |
| type | No | Type label or numeric ID | |
| layer | No | Layer label or numeric ID | |
| steps | No | Ordered test steps; omit for a case without steps | |
| title | No | Test case title | |
| status | No | Status label or numeric ID | |
| case_id | No | Test case to propose changes to. With it, an "edit" review is created and only the fields being changed need to be sent. Without it, a "create" review is opened for a brand-new case draft and `title` is required. | |
| behavior | No | Behavior label or numeric ID | |
| is_flaky | No | Is flaky: 0=No, 1=Yes; a boolean works too. | |
| priority | No | Priority label or numeric ID (0=not set, 1=high, 2=medium, 3=low) | |
| severity | No | Severity label or numeric ID | |
| suite_id | No | ID of the suite that holds the case | |
| reviewers | No | Reviewers: AUTHOR UUIDs (see qase_get { entity: "author" }) or emails, which resolve to them. Not user IDs. The token owner authors the review and cannot review their own review. Omit to assign them later in the UI. | |
| automation | No | Automation: 0=Manual, 1=To be automated, 2=Automated (label or ID) | |
| steps_type | No | Step style: "classic" action/expected, or "gherkin" scenario text | |
| attachments | No | Hashes from qase_attachment_upload | |
| description | No | Free-form description of what the case covers | |
| custom_field | No | Custom fields by ID, e.g. { "12": "value" } | |
| milestone_id | No | ID of the milestone the case belongs to | |
| preconditions | No | State the system must be in before the steps run | |
| postconditions | No | State to restore or verify after the steps run |