QMetry: Fetch QMetry Project Info
qmetry_fetch_qmetry_project_infoRetrieve QMetry project configuration, including viewId and folderPath, to enable test case operations. Use it to get necessary identifiers before fetching test cases.
Instructions
Fetch QMetry project information including viewId and folderPath needed for other operations
Toolset: Projects
Parameters:
projectKey (string): Project key - unique identifier for the project (default: "default")
Output Description: JSON object containing project details, viewIds, folderPaths, project configuration, 'dateTimeFormatID' (active date format ID), and 'dateTimeFormatNew' array (each entry: { id, name, unique_value } — use unique_value of the matching entry as the date format pattern for all API date fields).
Use Cases: 1. Get project configuration before fetching test cases 2. Retrieve available viewIds for test case listing 3. Get folderPath information for project navigation 4. Validate project access and permissions
Examples:
Get default project info
{}Expected Output: Project configuration with viewIds, folderPaths, and project details
Get specific project info
{
"projectKey": "MAC"
}Expected Output: MAC project configuration with available views and folders
Hints: 1. Always call this first when user doesn't provide viewId or folderPath 2. Use 'default' project key when user doesn't specify one 3. Extract viewId from latestViews.TC.viewId for test case operations 4. Use empty string '' as folderPath for root directory 5. DATE FORMAT — IMPORTANT: response contains 'dateTimeFormatID' (number) and 'dateTimeFormatNew' (array). 6. dateTimeFormatID = active format ID for this project. 7. dateTimeFormatNew = [{ id, name, unique_value }] — find entry where id === dateTimeFormatID. 8. unique_value is the authoritative date format pattern using Java/QMetry conventions: 9. yyyy = 4-digit year | MM = 2-digit month (01-12) | dd = 2-digit day | MMM = 3-letter month (Jan/Feb/...) 10. Example mappings: 11. unique_value 'MM-dd-yyyy' → format: 12-25-2024 12. unique_value 'dd-MM-yyyy' → format: 25-12-2024 13. unique_value 'yyyy-MM-dd' → format: 2024-12-25 14. unique_value 'dd-MMM-yyyy' → format: 25-Dec-2024 15. Always use this format when sending date values in any create/update payload. 16. Always parse user-provided dates and reformat them to this pattern before sending to API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectKey | No | Project key - unique identifier for the project | default |