Theses APIs allow you to force Cache clearing.

Overview

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.

APIs for clearing Caches

Opt for one below Clear Cache method. In doubt, use All Cache.

SearchRequest Caches

Goal : Clear the Cache related Filters identified by Name and by Id.

Usages :

API/rest/extendedAdmin/1.0/cache/clearSearchRequestCache
MethodGET
Return Code

(Always)

Return

Result Message

Portal Page Caches

Goal : Clear the Cache related Portal Page identified by Name and by Id.

Usages :

API/rest/extendedAdmin/1.0/cache/clearPortalPageCache
MethodGET
Return Code

(Always)

Return

Result Message

User Caches

Goal : Clear the Cache related Users identified by Name and by Id.

Usages :

API/rest/extendedAdmin/1.0/cache/clearUserCache
MethodGET
Return Code

(Always)

Return

Result Message

All Caches

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
MethodGET
Return Code

(Always)

Return

Result Message