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

Harish
Contributor
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-
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 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