Details
-
Bug
-
Status: Closed
-
Medium
-
Resolution: Unresolved
-
Xporter Cloud 8.0.0
-
None
-
Cloud
Description
It is not possible to iterate over HistoryEntries[n].ChangedItemsCount. This mapping is always returning 0, so nothing is exported inside this iteration.
Steps To Reproduce:
- Perform some changes in the fields on one Jira issue.
- Use the following code to export its history:
#{for historyEntries}
${HistoryEntries[n].Author}
${HistoryEntries[n].Created}
${HistoryEntries[n].CreatedDate}
${HistoryEntries[n].CreatedDateTime}
${HistoryEntries[n].ChangedItemsCount}
#{for i=HistoryEntries[n].ChangedItemsCount}
${HistoryEntries[n].ChangedItems[i].Field}
${HistoryEntries[n].ChangedItems[i].From}
${HistoryEntries[n].ChangedItems[i].To}
#{end}
#{end}
Actual Result:
Nothing is exported inside:
#{for i=HistoryEntries[n].ChangedItemsCount}
${HistoryEntries[n].ChangedItems[i].Field}
${HistoryEntries[n].ChangedItems[i].From}
${HistoryEntries[n].ChangedItems[i].To}
#{end}
and ${HistoryEntries[n].ChangedItemsCount} exports 0.
Expected Result:
The changes of the items should be exported as we can see in the documentation: Iterating Issue History Entries
Attachments
Issue Links
- duplicates
-
XPOR-1176 Loading...