Uploaded image for project: 'Xray for Jira Cloud'
  1. Xray for Jira Cloud
  2. XRAYCLOUD-8216

When importing Junit Results using API, <properties/> tags inside the Test Cases are not being ignored

    XporterXMLWordPrintable

Details

    • Standard
    • XRAYCLOUD 2025 Sprint 2
    • OK

    Description

      Description

      When importing Junit Results using API, <properties/> tags inside the Test Cases are not being ignored.

      Currently, if the tag is present, the API request throws an error and the import can't be completed.

      Pre-conditions

      How to reproduce

      1. Make sure the <properties/> tag is placed inside a Test Case in the xml file
      2. Import the xml results file using the JUnit XML results or JUnit XML results Multipart endpoint.

       

      Actual result/Attachments

      API request fails with a "error": "Result is not format junit"


      The API request will only work if the <properties/> tag is removed from inside the Test Case in the xml file.

      Expected result

      The process should ignore the <properties/> tag and import the Junit Results, as it does in Xray DC version.

      Workaround

      Removing the <properties/> tag from the xml file will prevent the error from happening and allow the import to proceed.

      Attachments

        Activity

          People

            nikhil.diwan Nikhil Diwan
            victor.sanchez Victor Puente Sanchez
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: