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

When exporting the issue history creation date, the current date is exported

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Open
    • Medium
    • Resolution: Unresolved
    • Xray Cloud 4.12.5-1
    • None
    • Document Generator
    • None
    • Cloud

    • UNCOVERED

    Description

      When exporting the issue history creation date, the current date is exported.

      Steps to reproduce:

      • Perform some changes to one issue.
      • Use Document Generator to export the issue history with the following code:
        #{for historyEntries}
           ${fullname:HistoryEntries[n].Author} ${dateformat("dd-MM-yyyy HH:mm:ss"):HistoryEntries[n].Created}
          #{for ch=HistoryEntries[n].ChangedItemsCount}
            Field Name: ${HistoryEntries[n].ChangedItems[ch].Field}
            Old Value:  ${HistoryEntries[n].ChangedItems[ch].From}
            New Value:  ${HistoryEntries[n].ChangedItems[ch].To}
          #{end}
        #{end}
        

      The current date is exported instead of the date of the change in the issue:

      Expected Result:

      • The date of the change should be correctly exported.

      Attachments

        Activity

          People

            joana.fonseca Joana Fonseca
            pmax Paulo Aleixo
            Votes:
            6 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: