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&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:
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.