Currently we are having testng results which are pushed to jira using rest API curl command which is creating new TestExecutionKey for each push but we need to push to the already existing TestExecutionKey
We have created TestExecution using rest API with our own details like label,compenent, description
Kindly help how can we mention TestExecutionKey in curl command so that it should push to respective test execution
Currently used command
curl -H "Content-Type: multipart/form-data" -u username:Password -F "file=@testng-results.xml" "https://MyServerName/jira/rest/raven/1.0/import/execution/testng?projectKey=XYZ
We are using Jira server not the cloud