update_cases
Bulk update multiple test cases with identical field values in one call, avoiding repeated single-case updates.
Instructions
Bulk update multiple test cases with the same field values. The update operation requires knowing valid field names that are returned by get_case_fields tool. More efficient than calling update_case multiple times.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| case_ids | Yes | Array of case IDs to update (e.g. [123, 456, 789]) |