Forum Discussion
Raymond
19 days agoNew Contributor
Zephyr Scale Cloud does not provide an API endpoint to “add a test case into a test cycle” directly.
The way to do it is by creating a Test Execution that references both the test cycle and the test case.
Flow:
- Create the test case (if it doesn’t exist yet).
- Create a test execution:
POST /v2/testexecutions { "testCaseKey": "MYPROJ-TC1", "testCycleKey": "MYPROJ-TC123", "statusName": "Pass" }
This call automatically associates the test case with the test cycle and records its execution result.
That’s the only supported method as i know