Create test run
create_test_runCreate a test run in a QA project by including all cases, specific case IDs, or module-based cases. Assign the run to a user and attach it to a milestone to organize test execution.
Instructions
Create a test run in a project. scope selects which test cases are included:
all: every test case in the projectcases: specific test cases (caseIds required)modules: cases from specific modules (moduleKeys required; optional mode filter)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Only include cases of this mode (scope `modules`) | |
| tags | No | Tag name grouping the cases (scope `cases`) | |
| scope | Yes | Which cases to include | |
| caseIds | No | Case IDs to include (scope `cases`) | |
| testRun | Yes | Title of the test run | |
| assignTo | Yes | User key to assign the run to (see get_test_run_metadata) | |
| moduleKeys | No | Module keys to include (scope `modules`) | |
| projectKey | Yes | Project key | |
| milestoneKey | Yes | Release (milestone) key to attach the run to |