get_test_cases_advanced
Retrieve test cases from Zebrunner with advanced filtering options including automation state, date ranges, and suite hierarchy for precise test management.
Instructions
📊 Advanced test case retrieval with filtering and pagination (✨ Enhanced with automation state and date filtering) ⚠️ IMPORTANT: Use 'suite_id' for direct parent suites, 'root_suite_id' for root suites that contain sub-suites. 💡 TIP: Use 'get_test_cases_by_suite_smart' for automatic suite type detection!
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| automation_states | No | Filter by automation state(s). Can be: single name ('Not Automated'), single ID (10), array of names (['Not Automated', 'To Be Automated']), array of IDs ([10, 12]), or mixed array (['Not Automated', 12]) | |
| created_after | No | Filter test cases created after this date (ISO format: '2024-01-01' or '2024-01-01T10:00:00Z') | |
| created_before | No | Filter test cases created before this date (ISO format: '2024-12-31' or '2024-12-31T23:59:59Z') | |
| format | No | Output format | json |
| include_clickable_links | No | Include clickable links to Zebrunner web UI | |
| include_steps | No | Include detailed test steps | |
| modified_after | No | Filter test cases modified after this date (ISO format: '2024-01-01' or '2024-01-01T10:00:00Z') | |
| modified_before | No | Filter test cases modified before this date (ISO format: '2024-12-31' or '2024-12-31T23:59:59Z') | |
| page | No | Page number (0-based) | |
| project_key | Yes | Project key | |
| root_suite_id | No | Filter by root suite ID (includes all sub-suites) | |
| size | No | Page size (configurable via MAX_PAGE_SIZE env var) | |
| suite_id | No | Filter by direct parent suite ID (for child suites) |