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

HistoryEntries.ChangedItems.From and HistoryEntries.ChangedItems.To have different export formats

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Medium
    • Resolution: Done
    • 6.8.3
    • 6.9.9
    • Exporting
    • None
    • OK

    Description

      When mapping From and To from HistoryEntries.ChangedItems of an Issue, the format of the export is different:
      -for From it prints only the name
      -for To it prints the name with the ID in brackets

      How to reproduce

      1. export the following report:
      #{for historyEntries}
         ${fullname:HistoryEntries[n].Author} made changes ${dateformat("dd-MM-yyyy HH:mm:ss"):HistoryEntries[n].Created}
        #{for ch=HistoryEntries[n].ChangedItemsCount}
          Old Value:  ${HistoryEntries[n].ChangedItems[ch].From}
          New Value:  ${HistoryEntries[n].ChangedItems[ch].To}
        #{end}
      #{end}
      

      Actual result/Attachments

      Expected result
      Same export formatting on the two fields

      Attachments

        Activity

          People

            afro Andre Fernandes Rodrigues
            jlps José Sousa [X] (Inactive)
            Votes:
            5 Vote for this issue
            Watchers:
            2 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