update_case
Update a test case in TestRail by specifying its ID and the fields to change. Supports partial updates; only include fields that need modification.
Instructions
Update a test case in TestRail. The update operation requires knowing valid field names that are returned by get_case_fields tool. Supports partial updates — only specify the fields you want to change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| case_id | Yes | The ID of the test case to update (e.g. '123' or 'C123') | |
| fields | Yes | A flat key-value map of case fields. The server merges all entries directly into the root of the TestRail API request body — there is no nested "fields" key in the API call. Must use system_name values from get_case_fields. Example: {"priority_id": 2, "template_id": 1, "labels": [1, 2]} Call get_case_fields with project_id first if field names are not already known. Using an unknown field name (e.g. 'label_ids') will result in an error. |