Testcases are not being created when I import xml results via REST API for XRAY

bronagh.fletcher June 5, 2020

I have executed the following curl script:

curl -H "Content-Type: multipart/form-data" -u "uname:pwrd" -F "file=@Tests.xml" "https://jira.com/jira/rest/raven/1.0/import/execution/junit?projectKey=PROJECT"

This successfully created the TEST EXECUTION but none of the test cases.

Has anyone been able to import test cases from an xml result file in this way?

1 answer

0 votes
José Domingues [Xray]
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
June 16, 2020

Hi @bronagh.fletcher ,

For guidance, please check our support documentation: https://confluence.xpand-it.com/display/public/XRAY/Taking+advantage+of+JUnit+XML+reports

In case you have more questions or if the problem persists, please contact our support service desk.

Best Regards,

Team Xray

Suggest an answer

Log in or Sign up to answer