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

When importing Xray JSON results and if summary has a complex characters sequence (numbers/letters/symbols) it is creating duplicate Tests

    XporterXMLWordPrintable

Details

    • UNCOVERED

    Description

      Description

      When importing Xray JSON results and if summary has a complex characters sequence (numbers/letters/symbols) it is creating duplicate Tests instead of updating the existing Tests. 

      How to reproduce

      1. Create a Test In UI with this summary 
        test day1!"!'()[]{} AND /NOT".*
      2. Use the below JSON matching the Summary
      3. Then, Import the following Xray JSON file result
      {
          "testExecutionKey": "TE-35",
          "tests" : [
              {
             "start" : "2021-08-30T11:47:35+01:00",
                  "finish" : "2021-08-30T11:50:56+01:00",
                  "comment" : "Successful execution",
                  "status" : "FAILED",
                   "testInfo": {
                      "summary": "test day1!"!'*\()[]{} AND /NOT",
                      "type": "Manual",
                      "projectKey": "TE"             }
              }
           ]
      }  

      Actual result/Attachments

      When importing consecutive times, the duplicated Tests are created instead of updating the existing Test. 

      Expected result

      The existing Test should be updated.

      Attachments

        Issue Links

          Activity

            People

              bernardo.cottim Bernardo Cottim
              Sravana.venukumar Sravanaboina Venukumar
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: