add_case
Create a new test case in TestRail by providing a section ID and title, with optional custom fields using system names from get_case_fields.
Instructions
Create a new test case in TestRail. The create operation requires knowing valid field names that are returned by get_case_fields tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| section_id | Yes | The ID of the section where the case should be created. Use get_sections to find available sections | |
| title | Yes | The title of the test case | |
| fields | No | Must use system_name values from get_case_fields. 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. Example: {"priority_id": 2, "template_id": 1, "labels": [1, 2]} |