How to update auto refresh interval in gadgets globally

Still need help?

The Atlassian Community is here for you.

Ask the community


Platform Notice: Server and Data Center Only - This article only applies to Atlassian products on the server and data center platforms.





Purpose

Some of the gadgets type can be configured with an auto refresh interval set to 15 minutes that cannot be configured within a user interface. However, this may cause unnecessary strain to the system if there are many gadgets operating in the same time.

Solution

It is possible to automatically disable refresh in all existing gadgets or set them to a different interval. The gadgets settings are stored in the gadgetuserpreference table, which can be manipulated with help of the following sample queries:

Disabling refresh in all existing gadgets
UPDATE gadgetuserpreference SET userprefvalue='false' WHERE userprefkey='refresh';

You can set the auto refresh to a predetermined interval in minutes:

Setting all existing gadgets auto refresh interval to 4 hours
UPDATE gadgetuserpreference SET userprefvalue='240' WHERE userprefkey='refresh';

Restart JIRA for the setting to take effect. Note that any active dashboards will need to be reloaded for new setting to take effect.




Last modified on Aug 8, 2019

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.