Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jira reload gadget specification cache

We have a custom jira gadget that summarizes the time developers booked on tickets.

When I make a change to the specification file (gadget.xml), there doesn't seem to be any way to know when the change will be reflected on the users' browser. Jira appears to cache the specification.

Is there any way to force the refresh of this content, without all users having to re-add the gadget to their dashboards?

like image 809
Joeri Hendrickx Avatar asked Dec 05 '25 01:12

Joeri Hendrickx


2 Answers

Yes, if you add ?ignoreCache=true to you url

http://<your host>/Dashboard.jspa?ignoreCache=true

should do it.

like image 177
markdemich Avatar answered Dec 07 '25 14:12

markdemich


Restart JIRA. During development, markdemich`s method is best for quick tests but for clearing cache across JIRA, a simple restart clears the cache for all gadget instances.

like image 41
r0m4n Avatar answered Dec 07 '25 16:12

r0m4n



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!