updateCases
Update multiple test cases at once by setting common field values such as title, type, priority, or custom fields. Streamline bulk modifications in TestRail.
Instructions
Updates multiple test cases simultaneously with the same field values / 複数のテストケースを同じフィールド値で一括更新します. NOTE: templateId=2 is required to use customStepsSeparated (array of step objects with 'content' and 'expected' fields). For simple text steps, use customSteps and customExpected instead. Use customFields for any additional custom fields (e.g., {custom_case_security_score: 'high'}).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | TestRail Project ID | |
| suiteId | Yes | TestRail Suite ID | |
| caseIds | Yes | Array of TestRail Case IDs | |
| title | No | Test case title | |
| typeId | No | Test case type ID | |
| priorityId | No | Test case priority ID | |
| estimate | No | Test case estimated time | |
| milestoneId | No | TestRail Milestone ID | |
| refs | No | Test case references | |
| templateId | No | Template ID (use 2 for custom_steps_separated support) | |
| customPrerequisites | No | Prerequisites | |
| customSteps | No | Test case steps | |
| customExpected | No | Expected results | |
| customStepsSeparated | No | Separated test steps array (requires template_id=2) | |
| customFields | No | Additional custom fields as key-value pairs (e.g., {custom_case_security_score: 'high'}) |