Test Management Jira Server API to create testrun stopped working

Nanthini Sukumaran January 28, 2020

https://docs.adaptavist.io/tm4j/server/api/v1/

I was using the below API to create testrun with testcase-wise pass/fail results. It stopped working recently, it could create testrun with list of test cases, but test cases details(right pane) are not visible under testrun. Please privide me the valid json body for the same.

Trying from Postman.

https://itrac.x.x.x/rest/tests/1.0/testrun

POST

 

{"projectId":162222,"testRunItems":[
{"index":0,"testResults":[{"testCaseId":1793374,"testResultStatusId":858,"lastTestResult":true}],"issueCount":0},
{"index":1,"testResults":[{"testCaseId":1793375,"testResultStatusId":859,"lastTestResult":true}],"issueCount":0}
],
"name":"TCMReport4","description":"Ran from TCMPlugin",
"plannedStartDate":"2020-01-17T13:01:33.111Z","plannedEndDate":"2020-01-17T13:02:33.111Z","owner":"xxx"}

 

0 answers

Suggest an answer

Log in or Sign up to answer