I would like to add a cucumber.json file to an existing Test Execution and update the test execution with new results. Currently, I am using the endpoints /cucumber and /cucumber/multipart, and they work as expected and create a new issue, e.g.:
curl -H "Content-Type: multipart/form-data" -X POST -F info=@issueFields.json -F results=@cucumber.json -H "Authorization: Bearer -token" https://xray.cloud.getxray.app/api/v2/import/execution/cucumber/multipart
What I have tried so far:
<a href="https://xray.cloud.getxray.app/api/v2/import/execution/cucumber/multipart/" target="_blank" rel="nofollow noopener noreferrer">https://xray.cloud.getxray.app/api/v2/import/execution/cucumber/multipart/</a><strong><issueKey></strong><a href="https://xray.cloud.getxray.app/api/v2/import/execution/cucumber" target="_blank" rel="nofollow noopener noreferrer">https://xray.cloud.getxray.app/api/v2/import/execution/cucumber</a><strong>?testExecIssueKey=<issueKey></strong>
My question:
Is there a way to update an existing Test Execution issue using the Xray Cloud API (e.g., by specifying the testExecutionKey or another method)? If yes, how should the curl command look?
Thank you for your help! 😊