Zephyr: Get Test Execution
zephyr_get_test_executionRetrieve detailed information about a Zephyr test execution by providing its ID or key. Use this to query test execution status, results, and metadata directly.
Instructions
Get details of test execution specified by id or key in Zephyr
Toolset: Test Executions
Parameters:
testExecutionIdOrKey (string) required: The ID or key of the test execution. Test execution keys are of the format [A-Z]+-E[0-9]+
Examples:
Get the test execution with id 1
{
"testExecutionIdOrKey": "1"
}Expected Output: The test execution with its details
Get the test execution with key 'PROJ-E123'
{
"testExecutionIdOrKey": "PROJ-E123"
}Expected Output: The test execution with its details
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| testExecutionIdOrKey | Yes | The ID or key of the test execution. Test execution keys are of the format [A-Z]+-E[0-9]+ |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The ID of the entity | |
| key | No | Test execution key | |
| links | No | ||
| comment | No | Comment added against overall test case execution. | |
| project | Yes | ID and link relative to Zephyr project. | |
| testCase | Yes | ||
| automated | No | Indicates if the test execution was done manually or not. | |
| testCycle | No | ||
| environment | No | ID and link to the environment resource. | |
| assignedToId | No | Atlassian Account ID of the Jira user. | |
| 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. | |
| executedById | No | Atlassian Account ID of the Jira user. | |
| actualEndDate | No | The actual end date of the test cycle. Format: yyyy-MM-dd'T'HH:mm:ss'Z' | |
| estimatedTime | No | Estimated duration in milliseconds. | |
| executionTime | No | Actual test execution time in milliseconds. | |
| jiraProjectVersion | No | ID and Link to fetch information about Jira Project version. Relates to 'Version' or 'Releases' in Jira projects. | |
| testExecutionStatus | Yes | ID and link to the status resource. |