get_test_case
Retrieve a Zephyr Scale test case by its key, with optional field filtering. Returns step-by-step scripts including per-step identifiers required for safe updates.
Instructions
Read a Zephyr Scale test case by key (GET /testcase/{testCaseKey}). Optionally restrict the payload with fields. STEP_BY_STEP scripts come back with per-step ids — those ids are required to edit steps safely via update_test_case (add_test_steps handles them automatically).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Return only these fields, e.g. ["key","name","status","testScript"]; sent to the API as a comma-separated list | |
| testCaseKey | Yes | Test case key, e.g. PROJ-T123 |