I'm trying to automate the import of junit tests into XRay in jira cloud using the "/api/v1/import/execution/junit/multipart" service
I've got the result file from the test execution and I've create a json file for the test execution fields (labels, components,etc) and another json file for the test case fields. The test case json looks like this:
When I call the rest service it runs successfully and returns the details of the execution record created. When I check the Jira UI, I can see the execution record (with the values set from the json file) and I can see see each of the tests in the junit result was created. However none of the values from the test case json file has been set. Is there something wrong with this documentation https://confluence.xpand-it.com/display/XRAYCLOUD/Import+Execution+Results+-+REST#ImportExecutionResultsREST-JUnitXMLresultsMultipart and am I missing something from my json file ?
I noticed it works when the test doesn't already exist and is created during the import. But if the test case already exists then it doesn't update the test case with values in the fields. Is there a way I could first the update
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event