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

When importing Xray JSON results and the summary contains a dash in front of a whitespace, causes to duplicate the Test issues being created

    XporterXMLWordPrintable

Details

    • XRAYCLOUD 2024 Sprint 5
    • UNCOVERED

    Description

      Description
      When importing Xray JSON results and the summary contains a dash in front of whitespace, causes to duplicate the Test issues being created.

      How to reproduce

      1. Import the following example Xray JSON file result:
        {
            "info": {
                "project": "XL",
                "summary": "Execution Results [BUG]"
            },
            "tests": [
                {
                    "status": "PASS",
                    "testInfo": {
                        "projectKey": "XL",
                        "summary": "Project -Summary",
                        "type": "Manual"
                    }
                }
            ]
        }
        

      Actual result/Attachments
      When importing consecutive times, the Tests are duplicated because no Test with the same Summary is found.

      Expected result
      The Test should be updated.

      Attachments

        Activity

          People

            ramo Rafael Morais
            mrap Mario Peixoto
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: