How To List Integrations Installed in All Rooms from Hipchat Server

Still need help?

The Atlassian Community is here for you.

Ask the community

This is for an outdated version of Hipchat Server

 This article applies to a version of Hipchat Server which will be deprecated soon. After that period the version will no longer be supported.

When will my version be deprecated?

The following versions have been deprecated:

  • Hipchat Server 1.3 (EOL Date: Aug 17, 2017)
  • Hipchat Server 2.0 (EOL Date: Jun 17, 2018)
  • Hipchat Server 2.1 (EOL Date: Dec 8, 2018)

The following version will be deprecated soon:

  • Hipchat Server 2.2 (EOL Date: May 30, 2019)

You can read more about Atlassian's End of Life policy here.

You should upgrade to a more recent version of Hipchat Server as soon as you can to take advantage of new features, and security and bug fixes.

Purpose

An admin wishes to review which integrations are installed in each room on a Hipchat Server using the command line. 

Solution

  1. Gain access to the server's terminal/command-line.
  2. Log in to the hipchat database:

    DBPASS=$(awk '/"pass"/ {gsub(/[",]/,"");print $2}' /hipchat/config/site.json) && mysql -uroot -p$DBPASS hipchat
  3. Run the following query to list the integrations installed in all rooms:

    SELECT a.name AS "Name",
        a.description AS "Description",
        a.plugin_key AS "Key",
        a.capabilities_url AS "URL",
        oc.allowed_scopes AS "Scopes",
        r.pretty_name AS "Room"
    FROM addons a
    LEFT JOIN oauth_clients oc ON a.id = oc.addon_id
    LEFT JOIN rooms r ON oc.room_id = r.id\G 


 

Last modified on Jan 19, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.