create_test_collection
Create a test collection to bundle test cases for a project, optionally linking to a release and assigning a tester, with priority defaulting to medium.
Instructions
Create a Test Collection and optionally add test cases to it. This is one Test Collection, NOT the top-level Executions-page container - use create_execution for that (an execution can then include this collection via add_collections_to_execution). Returns the created collection with count of added tests. Omit priority to default to "medium". A new Collection always starts at status not_started and there is no status argument here: use update_test_collection if it needs to start anywhere else, which is a second call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Collection name (e.g., "Sprint 42 Regression") | |
| caseIds | No | Numeric test case IDs to add to collection (e.g., [1, 2, 3]) | |
| folderId | No | Folder UUID to place collection in (omit for root level) | |
| priority | No | Optional, defaults to medium. Unlike a case priority, a collection priority is NOT project-configurable: the storage layer accepts only these four, in lowercase, so a project-custom case priority cannot be used here. Matching ignores case, and the value is stored lowercase. | |
| projectId | Yes | Project UUID to create collection in | |
| releaseId | No | Link to a release UUID | |
| assignedTo | No | Email address of the assigned tester | |
| description | No | Detailed description of the test collection | |
| environment | No | Target environment (e.g., "staging", "production") |