Uploaded image for project: 'Xray for Jira'
  1. Xray for Jira
  2. XRAY-3753

Test Case Importer doesn't map the 'priority' field correctly

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • R3.3.2, R3.3.3
    • 4.2.9
    • Test Case Importer
    • XRAY 2021 Sprint 4

    Description

      When importing from a CSV file where the priority field is an integer and not a string, the test case importer fails to map the priority level.

      (example files can be found in the attachments)

       Steps to reproduce

      Step Result
      Import tests through Test Case Importer, making sure that you map the values for the priority field.
      Map the values of the field 
      Check the priority on the issues that were recently imported

      If you use the String literal on the CSV, the test case importer works as expected, as long as the String matches the literal of the priority levels set for the project or the overall jira instance.

      Attachments

        1. String.png
          String.png
          38 kB
        2. step3.png
          step3.png
          26 kB
        3. step2.png
          step2.png
          15 kB
        4. step1.png
          step1.png
          28 kB
        5. integers.png
          integers.png
          39 kB
        6. Import_Example_CSV_Strings.csv
          0.2 kB
        7. Import_Example_CSV_1_Integers.csv
          0.2 kB

        Activity

          People

            hslb Hugo Braz [X] (Inactive)
            dpca Diamantino Campos
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 30 minutes
                30m