qase_case_upsert
Create or update a test case in Qase. If an ID is provided, the existing case is updated; otherwise a new case is created. Enum fields accept both labels and numeric IDs.
Instructions
Create or update a test case. If id is provided, updates the existing case; if omitted, creates a new one. Enum fields (priority, severity, type, etc.) accept both labels ("high", "blocker") and numeric IDs — the server normalizes automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Case ID — if provided, updates the case; if omitted, creates a new one | |
| code | Yes | Project code (2-10 uppercase letters, numbers, or underscores) | |
| tags | No | ||
| type | No | Type label or numeric ID | |
| layer | No | Layer label or numeric ID | |
| steps | No | ||
| title | Yes | Test case title | |
| status | No | Status label or numeric ID | |
| behavior | No | Behavior label or numeric ID | |
| is_flaky | No | ||
| 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 | ||
| automation | No | Automation status (label, slug, or numeric ID: 0=Manual / is-not-automated, 1=To be automated, 2=Automated) | |
| steps_type | No | ||
| attachments | No | ||
| description | No | ||
| custom_field | No | ||
| milestone_id | No | ||
| preconditions | No | ||
| postconditions | No |