Changing the constraints on historical time parameters in gadgets
A number of JIRA gadgets show historical data from your JIRA server.
You can generally configure the time constraints on this data via gadget parameters, such as those parameters defining how far back should data be retrieved. For instance, the 'Time Since Issues' gadget allows you to specify how far back issue data should be retrieved via the 'Days Previously' parameter.
For performance reasons, however, the JIRA server can impose an overriding maximum limit on historical data retrieved by gadgets. Hence, if you tried entering a 'Days Previously' value greater than 300 in the 'Time Since Issues' gadget, a validation message will be shown. You will not be permitted to save your configuration changes without changing the 'Days Previously' value to a lower one.
These maximum limits imposed by the JIRA server are defined by the following advanced configuration options in JIRA and can be customized in your jira-config.properties
file (located in the JIRA Home Directory).
jira.chart.days.previous.limit.yearly=36500
jira.chart.days.previous.limit.quarterly=22500
jira.chart.days.previous.limit.monthly=7500
jira.chart.days.previous.limit.weekly=1750
jira.chart.days.previous.limit.daily=300
jira.chart.days.previous.limit.hourly=10
To update these properties:
- Shut down your JIRA server.
- Edit your
jira-config.properties
file in your JIRA Home Directory.
See Making changes to the
jira-config.properties
file for more information. - Locate these properties.
If any of these properties do not exist in your
jira-config.properties
file, add them to the file. - Update the values of these properties as desired.
- Save your changes to the
jira-config.properties
file. - Restart your JIRA server.