Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,365,056
Community Members
 
Community Events
168
Community Groups

XRay document generator - HistoryEntries[n].Created returns wrong date

I created a template that iterates over issue histories using the method explained in the documentation. However the Field "Created" always returns the date and time of exporting and not the date of the change. 

 

 

This a code I ran for tests: 

&{for issues}

#{for historyEntries}

${dateformat("dd-MM-yyyy HH:mm:ss"):HistoryEntries[n].Created}

#{end}

&{end}

 

This is what it returns for every issue, which is the exact time the export took place: 

output.PNG

 

Everything else (e.g. Author, Field, ...) I can successfully export but the date changed just won't work

Is something wrong with my code and how can I achieve the wanted results?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events