Integrating Crowd with Atlassian HipChat

You can connect Hipchat Server to Atlassian Crowd or to a Jira application (version 4.3 or later) for management of users and for authentication (verification of a user's login).

Connecting Hipchat Server to Crowd

You can connect Hipchat Server to Atlassian Crowd for user management and authentication. For more information on Crowd, see the Crowd Administration Guide.

When to use this option: Connect to Crowd if you want to import and synchronize users from and authenticate those users against Crowd.

On this page:

You can't filter users. When you sync users, you'll sync all users in Atlassian Crowd. (Learn the workaround.) Hipchat Server marks inactive users from Crowd as deactivated users and doesn't count them towards your license.

Crowd does not provide SSO functionality for Hipchat.
A feature request to support SSO is available to be watched and up-voted: HCPUB-304 - Getting issue details... STATUS


To connect Hipchat Server to Crowd:

  1. Go to your Crowd Administration Console and define the Hipchat Server to Crowd. See the Crowd documentation: Adding an Application.
  2. Browse to your server's fully qualified domain name, for example https://hipchat.yourcompany.com/.
  3. Log into the Hipchat Server web user interface (UI) using your administrator email and password. 
  4. Click Group admin > Authentication > External directory.
  5. Choose Add Directory then choose Atlassian Crowd. Enter the settings as described below.
  6. Save the directory settings.
  7. Define the directory order by clicking the blue up and down arrows next to each directory in the User Directories list. Here is a summary of how the directory order affects the processing:
    • The order of the directories is the order in which they will be searched for users and groups.
    • Changes to users and groups will be made only in the first directory where the application has permission to make changes.
     For details see Managing Multiple Directories.

Settings in Hipchat Server for the Crowd directory type

Setting

Description

Name

A meaningful name that will help you to identify this Crowd server amongst your list of directory servers. Examples:

  • Crowd Data Center
  • Example Company Crowd

Server URL

The web address of your Crowd console server. Examples:

  • http://www.example.com:8095/crowd/
  • http://crowd.example.com

Application Name

The name of your application, as recognized by your Crowd server. Note that you will need to define the application in Crowd too, using the Crowd administration Console. See the Crowd documentation on adding an application.

Application Password

The password which the application will use when it authenticates against the Crowd framework as a client. This must be the same as the password you have registered in Crowd for this application. See the Crowd documentation on adding an application.

Crowd permissions

Setting

Description

Read Only

The users, groups and memberships in this directory are retrieved from Crowd and can only be modified via Crowd. You cannot modify Crowd users, groups or memberships via the application administration screens.

Note: There are no user group structures within Hipchat Server. Group data is synchronized, but not used.

Read/WriteNot applicable to Hipchat Server.

 

Advanced Crowd settings

Setting

Description

Enable Nested Groups

Not applicable to Hipchat Server.

When you sync your users, you'll sync every user that exists in the directory.

Synchronization Interval (minutes)

Synchronization is the process by which the application updates its internal store of user data to agree with the data on the directory server. The application will send a request to your directory server every x minutes, where 'x' is the number specified here. The default value is 60 minutes.

 

Connecting Hipchat Server to Jira applications

Subject to certain limitations, you can connect a number of Atlassian applications to a single JIRA application for centralized user management.

When to use this option: You can connect to a server running Jira 4.3 or later, Jira Software 7.0 or later, Jira Core 7.0 or later, or Jira Service Management (formerly Jira Service Desk) 3.0 or later. Choose this option as an alternative to Atlassian Crowd, for simple configurations with a limited number of users.

You can't filter users. When you sync users, you'll sync all users in the Jira application. Hipchat Server marks inactive users from the Jira application as deactivated users and doesn't count them towards your license.

To connect Hipchat Server to a Jira application:

  1. Configure the Jira application to recognize Hipchat Server:
    1. Log in to the Jira application as a user with the 'Jira Administrators' global permission.
    2. Choose  > User Management > User Server.
      (tick) Keyboard shortcut'g' + 'g' + start typing 'jira user'.
    3. Add an application.
    4. Enter the application name and password that Hipchat Server will use when accessing the Jira application.
    5. Enter the IP address or addresses of Hipchat Server.
    6. Save the new application.
  2. Configure Hipchat Server to connect to a Jira application:
    1. Browse to your server's fully qualified domain name, for example https://hipchat.yourcompany.com/.
    2. Log into the Hipchat Server web user interface (UI) using your administrator email and password. 
    3. Click Group admin > Authentication > External directory.
    4. Choose Add Directory then choose Atlassian Jira. Enter the settings as described below.
    5. Enter the settings as described below. When asked for the application name and password, enter the values that you defined in the settings on the Jira application.
    6. Save the directory settings.
    7. Define the directory order by clicking the blue up- and down-arrows next to each directory in the User Directories list. 

      Here is a summary of how the directory order affects the processing:

      • The order of the directories is the order in which they will be searched for users.
      • Changes to users will be made only in the first directory where the application has permission to make changes.
       For details see Managing Multiple Directories.

Settings for the Jira directory type

Setting

Description

Name

A meaningful name that will help you to identify this Jira server in the list of directory servers. Examples:

  • JIRA Service Desk Server
  • My Company JIRA

Server URL

The web address of your Jira server. Examples:

  • http://www.example.com:8080
  • http://jira.example.com

Application Name

The application name that Hipchat Server will use when accessing the Jira application.

Application Password

The password that Hipchat Server will use when accessing the Jira server that acts as user manager.

 

Permissions for the Jira directory type

Setting

Description

Read Only

The users, groups and memberships in this directory are retrieved from the Jira server that is acting as user manager. They can only be modified via that Jira server.

 

Note: There are no user group structures within Hipchat Server. Group data is synchronized, but not used.

 

Advanced Settings for the Jira directory type

Setting

Description

Enable Nested Groups

Not applicable to Hipchat Server.

 

Synchronization Interval (minutes)

Synchronization is the process by which the application updates its internal store of user data to agree with the data on the directory server. The application will send a request to your directory server every x minutes, where 'x' is the number specified here. The default value is 60 minutes.

 

Diagrams of some possible configurations

Gliffy-Confluence-Jira-Crowd Copy

 

Diagram above: Hipchat Server connecting to Crowd for user management.

Gliffy-Jira-To-Jira Copy

 

Diagram above: Hipchat Server connecting to a Jira application for user management. The Jira application does the user management, storing the user data in its internal directory.

Gliffy-Apps-To-Jira-LDAP Copy

 

Diagram above: Hipchat Server connecting to a Jira application for user management, with the Jira application in turn connecting to an LDAP server.

  

Last modified on Sep 20, 2017

Was this helpful?

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