It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Unable to uninstall static plugin

When I'm trying to execute Jira Rest api to uninstall the plugin, facing below given error.

Error : 

"errorMessage": "Cannot uninstall ${atlassian.plugin.key} because it is a static app.",
"subCode": ""


Rest API details : 

DELETE /rest/plugins/1.0/${plugin.key}-key


Is there any way to delete static plugin?

1 answer

1 accepted

0 votes
Answer accepted


A static plugin states that it requires a restart to function properly ( so in general, it should also be able to uninstall. Have you tried to use the admin interface and do you get the same issue then? 

Can you state which plugin that you are trying to uninstall that may give people more info to resolve your issue. 

@Krister_Broman__Advania_ Thanks for replying.

We have restarted more than 20 times but still we face same issue.

It is a ghost plugin, we have no idea how it got installed. We want to uninstall it but it is not showing any options in UI. 

This is how it is :



That is.... interesting. So no vendor, version, modules and i dont think there actually is an app key either sort of feels like a default placeholder. If I would guess (because I have never seen this before) this is due to there being a registry post somewhere that does not have any data. 

I can think of a couple of things to start searching for what this might be.

I would start by taking a backup of your system, go to the entities.xml file and search for <PluginVersion id=, you are going to see a list of installed plugins, check and see if you find a plugin without any values basically something like  <PluginVersion id="" name="" key="" version="" created=""/>, if you find one that are lacking just some data, that would be suspect as well. Second place to search for the same is starting with the text "___ User Plugins ____________________________" which again could show this strange plugin. Either could give you more info to search for. 

Second thing to try, go to your \JIRA\atlassian-jira\WEB-INF\lib directory, what i would search for is either a file with a strange file name, $.jar would be a big suspect, a file without any size would also be suspect. 


I could resolve it, Thanks a lot :)

There's a corrupted plugin, we followed below-given steps to remove it.

  1. Stop Jira
  2. Navigate until JIRA_HOME/plugins/installed-plugins
  3. Remove the Corrupted.jar file
  4. Start Jira

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you