Hi Team,
We need to have our dashboard to refresh always.
Whenever there is an update the dashboard has to be refreshed automatically.
Currently we have set the Refresh interval to 'Every 15 minutes'. But we need to have the refresh immediate after any action performed. Especially the Activity Stream gadget.
Please let me know if we can make any seeting to refresh the gadget automatically whenever an action is performed.
Thanks,
harish
Community moderators have prevented the ability to post new answers.
Not in the standard UI, you'll need to do some coding.
You've got two problems to code around.
First, the UI doesn't let you go below 15 minutes. This is an arbitrary value, I'm guessing it was chosen by Atlassian to balance the refresh convenience against the possibility of having large numbers of users having dashboards. Drawing a dashboard can be very resource intensive as they can have lots of filters on them, and lots of users can be using them, so you don't want them running at a high frequency. You'll need to dive into the core code to change that value.
Now, bearing in mind I just mentioned the load imposed by dashboard...
Second, dashboards don't work on actions. They work by running their queries when they are visited or refreshed, either by the user or by the auto-refresh. If you want them to refresh on the terms you've specified, you're going to need to write a lot of code to catch any events that should cause a refresh, and somehow feed that to all the dashboards so that they can redraw themselves. That's potentially a lot of code, imposing a heavy load as it runs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.