3

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?

Jonathan Leffler
  • 730,956
  • 141
  • 904
  • 1,278
Joeri Hendrickx
  • 16,947
  • 4
  • 41
  • 53

2 Answers2

4

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

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

should do it.

Rafał Rawicki
  • 22,324
  • 5
  • 59
  • 79
markdemich
  • 301
  • 2
  • 13
  • 1
    But then that means that every user needs to know when to use that url? I suppose using it all of the time will slow down Jira? – Joeri Hendrickx Mar 07 '12 at 14:35
1

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.

r0m4n
  • 3,474
  • 3
  • 34
  • 43