Zephyr: Get Test Case
zephyr_get_test_caseFetch details of a Zephyr test case by providing its test case key.
Instructions
Get details of test case specified by key in Zephyr
Toolset: Test Cases
Parameters:
testCaseKey (string) required: The key of the test case. Test case keys are of the format [A-Z]+-T[0-9]+
Examples:
Get the test case with key 'SA-T10'
{
"testCaseKey": "SA-T10"
}Expected Output: The test case with its details
Get the test case with key 'MM2-T1'
{
"testCaseKey": "MM2-T1"
}Expected Output: The test case with its details
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| testCaseKey | Yes | The key of the test case. Test case keys are of the format [A-Z]+-T[0-9]+ |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The ID of the entity | |
| key | Yes | The test case key | |
| name | Yes | ||
| links | No | A list of links for this test case. | |
| owner | No | ||
| folder | No | ID and link to the folder resource. | |
| labels | No | Array of labels associated to this entity. | |
| status | Yes | ID and link to the status resource. | |
| project | Yes | ID and link relative to Zephyr project. | |
| priority | Yes | ID and link to the priority resource. | |
| component | No | ID and link to the Jira component resource. | |
| createdOn | No | Data and time test case was created. Format: yyyy-MM-dd'T'HH:mm:ss'Z'. This field is read-only, cannot be updated. | |
| objective | No | A description of the objective. | |
| testScript | No | ||
| customFields | No | Multi-line text fields support HTML and should denote new lines with the \<br\> tag. Dates should be in the format 'yyyy-MM-dd'. Users should have values of Jira User Account IDs. | |
| precondition | No | Any conditions that need to be met. | |
| estimatedTime | No | Estimated duration in milliseconds. |