How to identify and change the Owner user in Hipchat Server

お困りですか?

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

コミュニティに質問

プラットフォームについて: サーバーと Data Center のみ。この記事は、サーバーおよび Data Center プラットフォームのアトラシアン製品にのみ適用されます。

目的

Hipchat Server has a user role called the 'Owner' - this is typically the person who installed Hipchat Server. As described in Managing your Group, this role is the only one capable of modifying settings such as:

This article describes how to identify which user was set as the 'Owner' in a Hipchat Server environment and how to change it.

目次

 

ソリューション

The 'Owner' user can be identified in a number of ways, which are outlined below, from easiest to most advanced.

Through the web interface

The 'Owner' is listed in the role column after logging into Hipchat Server as an administrator and navigating to Group Admin > Users:

The 'Owner' is also listed under Group Admin >> Group info when logged in as an administrator :

Only the group owner can transfer ownership through the UI:

  • Go to Group admin > Users
  • Select a user
  • Click Transfer Ownership and confirm

Through the REST API

Hipchat has an extensive list of REST API endpoints, including view_group. After generating a personal API token with the 'View Group' scope, this endpoint can be called to determine the 'Owner' user:

curl https://example.server.com/v2/group/1?auth_token=<APItokenHere>

This will generate a JSON blob including the 'Owner' user:

 {
    "avatar_url": null, 
    "domain": null, 
    "id": 1, 
    "links": {
        "self": "https://example.server.com/v2/group/1"
    }, 
    "name": "Example Server", 
    "owner": {
        "id": 1, 
        "links": {
            "self": "https://example.server.com/v2/user/1"
        }, 
        "mention_name": "LarkMonteroOwner", 
        "name": "Lark Montero", 
        "version": "TVDII6KX"
    }, 
    "plan": {
        "id": 1, 
        "type": "premium"
    }, 
    "statistics": {
        "links": {
            "self": "https://example.server.com/v2/group/1/statistics"
        }
    }, 
    "subdomain": "default"
}

The group owner cannot be changed via the API. 

Through the database

Reach out the Hipchat Server Support team. 

Reset owner email address through the command-line

hipchat service -r EMAIL, --reset-owner=EMAIL

Reset the owner admin account email address used to login to the web interface, for example: you@example.com

hipchat service -r always resets the email of the user with id=1, which might not be the owner of the instance in case ownership was transferred before via the UI or the database. HCPUB-3079 - Getting issue details... STATUS is logged to fix this issue.

 

 

   

 

 

 

最終更新日 2018 年 11 月 2 日

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

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