[Bug] Project Pivot Report is not correctly exported to MS Excel

Steps to Reproduce:

1. Log into JIRA
2. Choose 'Projects'-'Time Tracking (TT)' on menu bar
3. Choose 'Project Pivot Report' from drop-down list 'Reports'
4. Choose 'Next' button
5. Choose 'Excel View'
<dl><dt>Description:</dt><dt>Project Pivot Report is not correctly exported to MS Excel:</dt><dt></dt><dt>* page orientation is switched from landscape format to portrait format</dt><dt>* view is switched from compact (hours per project) to higher detailed view (hours per project and day)</dt><dt>* 'Time Spent (h)' column partially contains dates (e. g. 02. Mai, Aug 75) instead of hours</dt><dt></dt><dt></dt><dt>Best regards,</dt><dt>Jens Goetz</dt></dl>

2 answers

1 accepted

0 votes
Accepted answer

Hi Jens,

Yes, code is open here https://studio.plugins.atlassian.com/svn/TIME/trunk, change is really simple, you just need to set timesheet.excelview to false in TimeSheet.generateReport(), and/or Pivot.generateReport(), and I think you'll get the same view in excel. But please do not consider it as fix, but rather your personal customization.

Thank you.

Thank you very much.

Hi Jens,

Unfortunately those are not bugs

- page orientation and detailed report are as designed. Excel view is intended for export, or some kind of other processing, it does not group or summarise anything.

- dates instead of hours, e.g. 06.Mai stends for 7.05 hours, this is Excel how interprets data incorrectly, you need to set format for the whole column to fix this manually

Sorry for that, the latter I can't change, and first one I hope you agree with this approach.

Thank you

Hi Andriy,

as an end user I expect any kind of Excel export to show exactly the same as the current view in the current program. So from the end user point of view both are indeed a bug.

If you use Apache POI for the Excel export, it is really easy to fix the page orientation and to format the columns before you export data into them.

Is your code open source? If yes, I could fix them on my own.

Best regards,


Hi Jens, sorry for silence, yes, please fill free to do what you'd like here https://studio.plugins.atlassian.com/source/browse/TIME, and send me a patch if you'd like also to include it into main stream.

Thank you!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 07, 2019 in Marketplace Apps

A Timeless Love Story

It started as any story starts, on a normal, rainy day.   Admin meets App, and her name was Klok2, and like any first relationship we were both trying to make it work but neither one knew what...

440 views 8 26
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you