How To List Integrations Installed in All Rooms from Hipchat Server

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

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.

目的

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

ソリューション

  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 


 

最終更新日: 2018 年 1 月 19 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.