Theses APIs allow you to force Cache clearing. |
Atlassian JIRA implements different Caches to enhance its performances.
In some cases, you may have to perform some change in Database from your preferred Database Client tools or from the plugin Home Directory and DB Browser for Jira. Before performing such modifications, you have :
Among these impacts, you have the invalidation of a Cache of JIRA. It is why Atlassian advises to perform them with JIRA stopped.
But in practice, some of them can be with JIRA started on condition that the impacted Cache is cleared.
Below APIs allow you to clear some of most common caches.
Opt for one below Clear Cache method. In doubt, use All Cache.
Goal : Clear the Cache related Filters identified by Name and by Id.
Usages :
API | /rest/extendedAdmin/1.0/cache/clearSearchRequestCache |
---|---|
Method | GET |
Return Code | (Always) |
Return | Result Message |
Goal : Clear the Cache related Portal Page identified by Name and by Id.
Usages :
API | /rest/extendedAdmin/1.0/cache/clearPortalPageCache |
---|---|
Method | GET |
Return Code | (Always) |
Return | Result Message |
Goal : Clear the Cache related Users identified by Name and by Id.
Usages :
API | /rest/extendedAdmin/1.0/cache/clearUserCache |
---|---|
Method | GET |
Return Code | (Always) |
Return | Result Message |
Goal : Clear all Caches that can be cleared by the system event : ClearCacheEvent.
Similar feature is provided by Scriptrunner for JIRA.
Usages :
API | /rest/extendedAdmin/1.0/cache/clearAllCache |
---|---|
Method | GET |
Return Code | (Always) |
Return | Result Message |