Back to QMetry All Products Help Page
Create Test Cycle example
API URL : https://qtmcloud.qmetry.com/rest/api/latest/testcycles
Method : POST
Request Header
- apiKey : <your open apiKey>
- Content-Type : application/json
Request Body
{ "summary": "Test Cycle Summary", "description": "Test cycle description", "folderId": 31, "priority": 150, "status": 356, "assignee": "5bf3a00bb4cec3117e775462", "reporter": "5ae308b858742e214dd05423", "components": [141], "labels": [78], "plannedStartDate": "16/Jul/2019 00:00", "plannedEndDate": "30/Jul/2019 00:00", "projectId": "10002", "testCasesToLink": { "testCases": [{ "id": "WPtAOncRZ8", "versionNo": 1 }] } }
Response
Success : 201 Created
{"id": "Xlat82LtYl","key": "CDT-TR-22"}
Failed : 404 Not found
{"status":404,"errorMessage":"Project does not exist or QMetry Test Management for JIRA is not enabled for this project","timestamp":"08/Jul/2019 07:05"}
Back to QMetry All Products Help Page