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.

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.

On this page:

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 Server
  • 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/Write Not 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 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.

  

Was this helpful?

Thanks for your feedback!

Why was this unhelpful?

Have a question about this article?

See questions about this article

Powered by Confluence and Scroll Viewport