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

Maximilian Georgiev September 2, 2022

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
AUG Leaders

Atlassian Community Events