Create test case
kiwi_create_caseCreate a test case in Kiwi TCMS with summary, Markdown text, tags, and optional plan attachment. Category and priority names are resolved automatically.
Instructions
TestCase.create in the product (defaults to KIWI_PROJECT). Category and priority accept names and are resolved to ids. If plan is set, the case is attached via TestPlan.add_case. Tags are added one by one. text is stored verbatim in Kiwi's text field (Markdown; Kiwi 12+) — no section parsing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | No | Plan id to attach the case to | |
| tags | No | Comma-separated tags | |
| text | No | Full case body as Markdown (setup, steps, expected, ...) | |
| notes | No | Notes | |
| script | No | Automation script path | |
| product | No | Product name or id (defaults to KIWI_PROJECT) | |
| summary | Yes | Case summary | |
| category | No | Category name or id (required by Kiwi; defaults to the first product category) | |
| priority | No | Priority value (P1..P5) or id. Default Medium | |
| arguments | No | Automation script arguments | |
| automated | No | is_automated | |
| status_id | No | Numeric status id (Kiwi default if omitted) | |
| requirement | No | Requirement reference: a path or URL to the source requirement |