I am getting error {"error":"Test with key XX-XX not found."}, while uploading xray format json test result using xray cloud APICall XRAY Cloud End point: https://xray.cloud.getxray.app/api/v2/import/execution?testExecKey=DMY-71.
Xray formatted Json:
{
"info" : {
"summary" : "Execution of automated tests",
"description" : "This execution is automatically created when importing execution results from an external source",
"project" : "DMY",
"version" : "v1.0",
"revision" : "1234",
"startDate" : "2022-07-25T11:47:35+01:00",
"finishDate" : "2022-07-25T11:48:35+01:00",
"testEnvironments": ["Chrome"]
},
"tests" : [
{
"testKey" : "DMY-67",
"start" : "2022-07-25T11:47:35+01:00",
"finish" : "2022-07-25T11:47:35+01:00",
"status" : "PASSED"
}
]
}
I can access TestKey in jira able to Update test case too.