Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Can we have the dashboard refresh automatically whenever there is update in Jira 4.4.5

Harish October 28, 2012

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

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

2 votes
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 28, 2012

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.

TAGS
AUG Leaders

Atlassian Community Events