QMetry: Fetch Releases and Cycles
qmetry_fetch_releases_and_cyclesRetrieve releases and cycles from a QMetry project, with an option to include archived records, to support test planning and execution.
Instructions
Fetch QMetry releases and cycles from the current project
Toolset: Projects
Parameters:
projectKey (string): Project key - unique identifier for the project (default: "default")
showArchive (boolean): Whether to include archived records in the results. When true, returns both active and archived items. When false, returns only active (non-archived) items. Applies to any entity type being fetched (test cases, requirements, releases, cycles, builds, platforms, etc.).
Output Description: JSON object with project hierarchy containing releases and their associated cycles
Use Cases: 1. Fetch associated releases and cycles of current project 2. Fetch available releases and cycles of current project 3. Get release and cycle information for test planning 4. List all releases and cycles in a project 5. Search for specific releases using release name or ID 6. Fetch cycle lists based on release ID 7. Search for specific cycles using cycle name or ID 8. Get project structure for test planning and execution 9. Retrieve release hierarchy for reporting purposes
Examples:
Get active releases and cycles (default behavior)
{}Expected Output: List of active releases and cycles excluding archived ones (showArchive: false sent in payload)
Get active/unarchived releases and cycles explicitly
{
"showArchive": false
}Expected Output: List of active releases and cycles excluding archived ones (showArchive: false sent in payload)
Get not active/archived releases and cycles
{
"showArchive": true
}Expected Output: List of all releases and cycles including archived ones (showArchive: true sent in payload)
Hints: 1. Use 'default' project key when user doesn't specify one 2. PAYLOAD SCENARIOS: 3. - No showArchive parameter → payload: {showArchive: false} → Returns only active releases/cycles 4. - showArchive: false → payload: {showArchive: false} → Returns only active/non-archived releases/cycles 5. - showArchive: true → payload: {showArchive: true} → Returns all releases/cycles including archived ones 6. Default behavior always excludes archived items unless explicitly requested 7. Releases contain cycles - use this hierarchy for test execution planning 8. Each release can have multiple cycles representing different testing phases
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectKey | No | Project key - unique identifier for the project | default |
| showArchive | No | Whether to include archived records in the results. When true, returns both active and archived items. When false, returns only active (non-archived) items. Applies to any entity type being fetched (test cases, requirements, releases, cycles, builds, platforms, etc.). |