Your Search Bar For Shrewd Tips

How Do I Clear Jira Plugin Cache?


When a Jira app or plugin behaves incorrectly, clearing Jira’s plugin cache can help Jira rebuild the temporary files it uses to load apps. This may resolve symptoms such as a plugin that will not start, changes that do not appear after an upgrade, or an app that is missing from Jira’s administration screens. The right approach depends on whether you use Jira Data Center, an older Jira Server installation, or Jira Cloud. In particular, clearing a browser cache is not the same as clearing Jira’s server-side plugin cache.

This guide explains when to clear the Jira plugin cache, how to do it safely on self-managed Jira, and what Jira Cloud users can try instead. Before changing files, check your Jira version and deployment type, and make a backup. Removing the wrong directory can delete app files or disrupt your instance.

What Is the Jira Plugin Cache?

Jira uses temporary files to load and run apps, which were previously called plugins. These files can include cached versions of app bundles and information used by Jira’s app framework. If the cache becomes stale or inconsistent, Jira may not load an app as expected, even when the app is installed and enabled.

Clearing the plugin cache removes selected temporary files so Jira can recreate them during startup. It does not normally uninstall apps when you remove only the cache directories. However, Jira installations contain several directories with similar names, and some contain app installation files or other important data. Identifying the correct directories is essential.

When Should You Clear the Jira Plugin Cache?

Clearing the cache is a troubleshooting step, not routine maintenance. Consider it when there is evidence of a plugin-loading problem and simpler checks have not resolved it. Common symptoms include:

  • An app is listed as installed but does not start or appears unavailable.
  • Jira reports an app startup error after an upgrade or app update.
  • App changes do not appear after a restart or after deploying an updated app.
  • The Universal Plugin Manager shows inconsistent information about an app.
  • Jira logs contain errors related to app loading, plugin frameworks, or OSGi bundles.

A cache reset will not fix every app problem. An incompatible app version, a failed license check, insufficient system resources, a database issue, or a defect in the app itself may produce similar symptoms. Review Jira’s application logs and the app vendor’s documentation before treating cache clearing as the solution.

Before You Clear the Jira Plugin Cache

Plan the work before deleting or renaming any files. Clearing the cache requires a Jira restart, so it may cause downtime for users. In a production environment, schedule a maintenance window and follow your organization’s change-management process.

  • Confirm your deployment type: The steps below apply to self-managed Jira, such as Jira Data Center or older Jira Server. Jira Cloud customers cannot access Jira’s server-side plugin cache.
  • Check your Jira version: Directory names and operational guidance can vary between versions. Consult the documentation for your exact Jira release.
  • Back up first: Confirm you have a recent, usable backup and know how to restore it.
  • Record the current state: Note the affected apps, their versions, and any relevant messages from Jira’s logs or administration screens.
  • Use the correct Jira home: Find the Jira home directory configured for the instance. Do not assume it is the same as the Jira installation directory.
  • Stop Jira cleanly: Do not remove cache files while Jira is running. Use your normal service-management procedure and verify that the Jira process has stopped.

If you are uncertain which directory is the Jira home, check the Jira system information or the instance’s configuration. Ask your Jira administrator for help if you do not have the required access. Avoid making changes directly on a production server unless you are authorized to do so.

How to Clear the Jira Plugin Cache on Data Center or Server

The commonly used plugin-cache locations for self-managed Jira are inside the Jira home directory’s plugins folder. Depending on the version and configuration, the cache directories may include .osgi-plugins and .bundled-plugins. Jira recreates cache data when it starts.

Use the following general process. Because Jira versions and installations differ, compare these instructions with Atlassian’s guidance for your specific release before proceeding.

  • 1. Schedule downtime. Notify users and arrange an appropriate maintenance window, especially for a production or Data Center deployment.
  • 2. Locate Jira home. Identify the Jira home directory for the instance or node you are troubleshooting. Do not confuse it with the Jira installation directory.
  • 3. Stop Jira. Shut down the Jira service cleanly and confirm that it is no longer running.
  • 4. Inspect the plugin directories. In Jira home, look under plugins for cache directories such as .osgi-plugins and .bundled-plugins. The exact contents depend on your Jira version.
  • 5. Preserve a fallback. If your procedure permits, rename the relevant cache directory or move it to a temporary location rather than permanently deleting it. This gives you a way to restore the original files if needed.
  • 6. Remove only the intended cache. Clear the contents of the applicable cache directories, or remove the directories themselves if Atlassian’s instructions for your version say to do so. Do not remove unrelated folders.
  • 7. Start Jira. Restart Jira using your standard service procedure. The first startup may take longer while Jira rebuilds plugin-related files.
  • 8. Verify the result. Check Jira’s app-management screens, review the logs for startup errors, and confirm that users can access the affected app.

One important safeguard: do not delete the installed-plugins directory as a substitute for clearing the cache. That directory can contain installed app files. Removing it may uninstall apps or cause them to disappear from Jira. Similarly, do not delete the entire Jira home or the entire plugins folder unless Atlassian documentation or support has explicitly directed you to do so.

Clearing the Plugin Cache in a Jira Data Center Cluster

Jira Data Center has multiple nodes, so check the location of the affected cache on each node. Plugin runtime and cache files may be stored in a node’s local home, while other Jira data is stored in shared home. The exact layout depends on your Jira version and cluster configuration.

Follow your organization’s Data Center maintenance procedure. In general, coordinate the work across the cluster, stop or isolate nodes as required by your documented process, and clear only the relevant cache on the appropriate node or nodes. Do not assume that clearing a cache on one node automatically clears every node’s local cache. After the restart, confirm that the cluster is healthy and that the app loads consistently across nodes.

Clustered environments are especially sensitive to changes in local and shared directories. If you cannot confidently identify the correct path, pause and consult your Jira administrator or Atlassian Support instead of experimenting on a live cluster.

What to Check After Jira Restarts

Once Jira is running, give it time to rebuild its plugin cache. Then use Jira’s administration tools to check whether the app is enabled and whether Jira reports a startup failure. Review the application logs around the time of startup for messages that identify a missing dependency, an incompatible app, a license issue, or a framework error.

If the app still does not work, avoid repeatedly deleting cache directories. Repeated resets are unlikely to fix an underlying compatibility or configuration problem, and they can make troubleshooting harder. Record the error details and move on to targeted checks, such as confirming that the app supports your Jira version, reviewing its license status, and checking the vendor’s known issues.

Can Jira Cloud Users Clear the Plugin Cache?

No. Jira Cloud is hosted and managed by Atlassian, so customers do not have access to Jira’s server-side plugin-cache directories. The self-managed instructions in this guide do not apply to Jira Cloud. Deleting browser data will not clear Atlassian’s server-side app cache.

If an app is not displaying correctly in Jira Cloud, try these user-level checks:

  • Reload the page, then sign out of Jira and sign back in.
  • Try a private or incognito browser window to check whether the issue is specific to your browser session.
  • Clear the browser’s cached files and site data if the problem appears limited to one browser. Be aware that this may sign you out of websites.
  • Check Atlassian’s service status page for a relevant incident.
  • Ask a Jira administrator to check the app’s configuration, availability, and permissions.
  • Contact the app vendor or Atlassian Support if the issue continues, and include the app name, affected site, symptoms, and approximate time the problem occurred.

Common Mistakes to Avoid

The most frequent mistake is confusing cache files with installed app files. A cache reset should target only the documented cache locations for your Jira version. Deleting installed app files can remove functionality and turn a straightforward troubleshooting task into an app recovery project.

Other mistakes include making changes while Jira is running, working in the installation directory instead of Jira home, applying Server instructions to Jira Cloud, or clearing files on only one Data Center node when the issue exists across the cluster. It is also risky to copy commands from an online post without confirming the directory paths. A command that recursively deletes files can cause substantial damage if run from the wrong location.

When in doubt, stop and verify the paths with your Jira administrator or the official documentation. If you cannot establish which files are safe to clear, do not delete them.

Conclusion

Clearing the Jira plugin cache can help resolve certain app-loading problems on self-managed Jira, but it should be done carefully and only after checking the likely cause. Confirm your Jira version, back up the instance, stop Jira, and clear only the documented cache directories, such as .osgi-plugins or .bundled-plugins when applicable. Protect installed app files, restart Jira, and verify the result in the app-management screens and logs.

Jira Cloud users cannot clear the server-side plugin cache themselves. They can test browser-level fixes and contact an administrator, the app vendor, or Atlassian Support. In every deployment, use version-specific guidance and avoid deleting directories unless you know exactly what they contain.


Disclaimer: Articles are written by Humans, AI or Both. Verify Important information.

Shrewdnia

Shrewdnia

Shrewdnia is a destination for curious minds seeking clarity, knowledge, and informed perspectives. Through insightful articles and practical guides our passionate team explores a wide range of topics designed to help readers understand the world around them, make smarter decisions, and stay informed in an ever-changing landscape.


💡 Every question sparks discovery, and every perspective enriches the conversation. Share your thoughts and insights in the comments 👇

Back to blog

Leave a comment

JOIN THE SHREWDNIA COMMUNITY FORUM

What do you think?

Have an opinion, experience, or question about this topic? Join the Shrewdnia Forum and share your thoughts with other readers.

Join the Forum →