Hi I am using JIRA Cloud and trying to import execution result using REST API.
End Point URL - https://xray.cloud.getxray.app/api/v1/import/execution Request Type - POST Content-Type - application/json Authorization: Bearer ""
Body -
{ "info" : { "project": "QAUT", "summary" : "Execution of automated tests using UFT", "description" : "This execution is automatically created when importing execution results from UFT", "startDate" : "2022-09-19T11:47:35+01:00", "finishDate" : "2022-09-19T11:53:00+01:00", "testPlanKey" : "QAUT-1" }, "tests" : [ { "testKey" : "QAUT-3", "start" : "2022-09-19T11:47:35+01:00", "finish" : "2022-09-19T11:50:56+01:00", "actualResult" : "Successful execution", "status" : "PASSED" } ] }
I am getting below errors:
Response code - 400 Response Body -
{ "error": "Result is not valid Xray Format" }