How to create a report spanning over more than 2 months?

Martin Luptak October 9, 2012

I use JIRA TimeSheet Plugin and after latest upgrade to 2.3.6 I started to have difficulties with creating reports spanning over more than 2 months. It always failes with 'The "End Date" must not be later than 2 months.' message.

While leaving the "End Date" empty, the report is created without any problem from "Start Date" up to current date even if is spans over e.g. 6 months but trying to create report ending on different day than today always fails in such cases.

Is it some sort of new "feature" or just a bug? For our usecase (regular budget/effort reporting) it's absolutely necessary to be able to create summary reports for long time period - up to or even more than 1 year.

Is there some way around or some setting preventing this limitation?


2 answers

1 accepted

1 vote
Answer accepted
Martin Luptak October 9, 2012

Just after posting this question I found an answer here: https://studio.plugins.atlassian.com/browse/TIME-169

There's a new property added into TimeSheet plugin v. 2.3.5 named "jira.timesheet.plugin.maxDays" which was introduced there to avoid crashing of JIRA due to out of memory problem in case of too huge reports. It's necessary to add this property to jira-home/jira-config.properties, e.g. to exted the max. reporting period to 3 months:

"jira.timesheet.plugin.maxDays = 90"

After modifying jira-config.properties you have to restart your JIRA to apply the config changes. I tried it and it worked.

For more information about JIRA configuration see https://confluence.atlassian.com/display/JIRA050/Advanced+JIRA+Configuration

Andriy Zhdanov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 9, 2012

No problem, great you found an answer too :)

1 vote
Andriy Zhdanov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 9, 2012

It is security feature, you just need to add the following property to jira-home/jira-config.properties and restart jira, if you want to set bigger limit, e.g. year:

jira.timesheet.plugin.maxDays = 360

Please see https://studio.plugins.atlassian.com/browse/TIME-169 for reference.

Martin Luptak October 9, 2012

Thanks for prompt answer. I accidentally found it in the meanwhile on my own, but anyway - thanks.

Martin Gregory July 10, 2014

How do you deal with this in OnDemand?

Andriy Zhdanov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 10, 2014

You need to enable Plugin Configuration with the licsense, please see http://www.jiratimesheet.com/wiki/Frequent_Questions.html#Timesheet_plugin_License_for_JIRA_OnDemand

Thank you.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events