updateCases
Update multiple test cases simultaneously with shared field values, such as priority, type, or custom fields, by specifying project, suite, and case IDs.
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 |
|---|---|---|---|
| refs | No | Test case references | |
| title | No | Test case title | |
| typeId | No | Test case type ID | |
| caseIds | Yes | Array of TestRail Case IDs | |
| suiteId | Yes | TestRail Suite ID | |
| estimate | No | Test case estimated time | |
| projectId | Yes | TestRail Project ID | |
| priorityId | No | Test case priority ID | |
| templateId | No | Template ID (use 2 for custom_steps_separated support) | |
| customSteps | No | Test case steps | |
| milestoneId | No | TestRail Milestone ID | |
| customFields | No | Additional custom fields as key-value pairs (e.g., {custom_case_security_score: 'high'}) | |
| customExpected | No | Expected results | |
| customPrerequisites | No | Prerequisites | |
| customStepsSeparated | No | Separated test steps array (requires template_id=2) |