Uploaded image for project: 'Xporter for Jira'
  1. Xporter for Jira
  2. XPORTER-2124

When there are 2 custom fields with the same name, Xporter should export the one with a lower ID

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Done
    • Release 5.7.4
    • 6.5.5
    • FieldMapper
    • None
    • OK

    Description

      When there are 2 custom fields with the same name, Xporter should export the one with a lower ID.

      Currently, when we have several custom fields with the same name, Xporter is retrieving the first on Jira returns (unless we use the CF ID).
      Jira doesn't always return these fields in the same order. We should export the CF with a lower ID.

      This scenario is happening in the following automation tests:

      • TestEX-51_Template18
      • Bulk18Never_Template18
      • Bulk20IssueTypes
      • TestEX-51_Template22
      • Bulk22Never_Template22

      Test Case:
      <suite-file path="docx_suites/testTemplate18.xml" />
      <suite-file path="docx_suites/testTemplate20.xml" />
      <suite-file path="docx_suites/testTemplate22.xml" />

      Templates:
      Xporter Test Template nº 18
      Xporter Test Template nº 20
      Xporter Test Template nº 22

      Custom Field:
      Elsa.

      Attachments

        Activity

          People

            tfsi Tiago Silva [X] (Inactive)
            hjfr Hugo Rodrigues [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 7 hours
                7h