QMetry: Fetch Test Case Version Details
qmetry_fetch_test_case_version_detailsRetrieves version-specific details for a QMetry test case by numeric ID and version number, enabling comparison and audit of test case versions.
Instructions
Get QMetry test case details for a specific version by numeric ID
Toolset: Test Cases
Parameters:
projectKey (string): Project key - unique identifier for the project (default: "default")
baseUrl (string): The base URL for the QMetry instance (must be a valid URL)
id (number) required: Test Case numeric ID (required for fetching steps or version details). Accepts a string or number. This is the internal numeric identifier, not the entity key like 'MAC-TC-1684'. You can get this ID from test case search results.
version (number) required: Test Case version number. This is the internal numeric identifier for the version.
scope (string): Scope of the operation - defines the context for data retrieval. Common values: 'project' (default), 'folder', 'release', 'cycle'. Applies to any entity type being fetched or operated upon. (default: "project")
Output Description: JSON object with version-specific test case details
Use Cases: 1. Get specific version details of a test case 2. Compare different versions of a test case 3. Retrieve version history information 4. Audit changes made across test case versions
Examples:
Get version 2 details for test case ID 123
{
"id": 123,
"version": 2
}Expected Output: Version 2 details for test case 123
Hints: 1. Requires numeric ID, not entityKey 2. If user provides entityKey (e.g., MAC-TC-1684), first resolve it to numeric ID using FETCH_TEST_CASES 3. Version defaults to 1 if not specified 4. Provides version-specific metadata and history
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Test Case numeric ID (required for fetching steps or version details). Accepts a string or number. This is the internal numeric identifier, not the entity key like 'MAC-TC-1684'. You can get this ID from test case search results. | |
| scope | No | Scope of the operation - defines the context for data retrieval. Common values: 'project' (default), 'folder', 'release', 'cycle'. Applies to any entity type being fetched or operated upon. | project |
| baseUrl | No | The base URL for the QMetry instance (must be a valid URL) | |
| version | Yes | Test Case version number. This is the internal numeric identifier for the version. | |
| projectKey | No | Project key - unique identifier for the project | default |