Ways to remove the Announcer for Confluence app

This article helps you delete the Announcer for Confluence app using the Rest API and from the backend.

1. Removing the app from Rest API

We can delete the app by invoking the below API from Atlassian. Replace the placeholders for the admin user's BASE_URL, USERNAME, and PASSWORD in the CURL API below.

curl -X GET https://{BASE_URL}/rest/plugins/1.0/com.wittified.atl-announcer-confluence-key \ -H "Content-Type: application/json" --user "{USERNAME}:{PASSWORD}"

2. Remove the app from the backend (proceed only if step #1 didn’t work)

  1. Delete the app installation entry from the database. Below is a sample query in POSTGRES DB

    delete from "plugindata" where "pluginkey"='com.wittified.atl-announcer-confluence';
  2. Delete the app installation from the plugin cache. Per this documentation from Atlassian, the app can be present in the plugin cache directories below. Delete the jar file if the file name contains announcer-confluence.

    1. The <confluence-home>/bundled-plugins

    2. The <confluence-home>/plugin-cache

    3. The <confluence-home>/plugins-osgi-cache

    4. The <confluence-home>/plugins-temp

    5. The <confluence-install>/confluence/WEB-INF/lib

  3. Restart the confluence instance, and check that the app has been removed from UPM.

  4. Install the latest version of the app from the marketplace.

This step requires access to the database and Confluence Home directory.