get_test_case
Retrieve a Jira/Zephyr Scale test case by key to inspect its steps and numeric step IDs before editing scripts or steps manually.
Instructions
Read one test case (GET /testcase/{testCaseKey}). A STEP_BY_STEP script comes back with a numeric id on every step; those ids are what update_test_case and set_test_script match on, so read them before editing steps by hand (add_test_steps does it for you). Returns the test case object as the API sends it, restricted to fields when given.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Return only these fields, e.g. ["key","name","status"]; sent to the API as one comma-separated parameter | |
| testCaseKey | Yes | Test case key, e.g. PROJ-T123 |