update_case
Update an existing test case with new values for title, description, steps, severity, and more. Provide the project code and test case ID to apply changes.
Instructions
Update an existing test case
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Project code (2-10 uppercase letters, numbers, or underscores) | |
| id | Yes | Entity ID (positive integer) | |
| title | No | Test case title | |
| description | No | Test case description | |
| preconditions | No | Preconditions for the test | |
| postconditions | No | Postconditions after the test | |
| severity | No | Test severity (label or numeric ID from workspace configuration) | |
| priority | No | Test priority (label or numeric ID: 0=not set, 1=high, 2=medium, 3=low) | |
| type | No | Test type (label or numeric ID: 1=functional, 2=smoke, 3=regression, 4=security, 5=usability, 6=performance, 7=acceptance) | |
| layer | No | Test layer (label or numeric ID from workspace configuration) | |
| is_flaky | No | Mark test case as flaky | |
| suite_id | No | Suite ID | |
| milestone_id | No | Milestone ID | |
| behavior | No | Test behavior (label or numeric ID from workspace configuration) | |
| automation | No | Automation status | |
| status | No | Test case status (label or numeric ID from workspace configuration) | |
| steps | No | Array of test steps | |
| steps_type | No | Step format: 'classic' for structured steps, 'gherkin' for Given/When/Then scenarios | |
| tags | No | Tags for categorization | |
| attachments | No | Array of attachment hashes | |
| custom_field | No | Custom field values |