I'm trying to send JUnit XML Reports like this:
curl \-H 'Content-Type: multipart/form-data' \-u user@gmail.com:password \-F "file=@result.xml" \https://myjira.atlassian.net/rest/raven/2.0/api/import/execution/junit?testExecKey=DEV-2&projectKey=DEV
And, I get error:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><status><status-code>404</status-code><message>null for uri: https://myjira.atlassian.net/rest/raven/2.0/api/import/execution/junit?testExecKey=DEV-2&amp;projectKey=DEV</message></status>%
What am I doing wrong?
Hi @Pabblitoss
welcome to the Atlassian Community.
From your tags I can see that you are working in cloud. Xray has its own URL in cloud. This is the base url:
The REST API base URL for all endpoints is https://xray.cloud.getxray.app/
see the docu:https://docs.getxray.app/plugins/servlet/mobile?contentId=31622359#content/view/31622359
And furthermore for importing test execution results:
https://docs.getxray.app/pages/viewpage.action?pageId=68411322#ImportExecutionResultsRESTv2-JUnitXMLresults
BestStefan
It looks like you're new here. Sign in or register to get started.