HipChat service management

With this servcie, you can integrate Bitbucket Cloud with HipChat with a repository.  The service connects a single HipChat room to one or more Bitbucket repositories. Once installed, the service sends a notification to the room each time a commit is made to the repository.  You'd need to do this for each repository; you cannot configure it for multiple repositories.

As an alternative to using this service, you can use the HipChat Bitbucket Connector add-on.  The add-on results in the same behavior as the service.  See Use the HipChat integration in this documentation.

If you are having trouble with the service, see Troubleshoot Bitbucket Cloud services.  

Setting Up the service

  1. Login to your Bitbucket Cloud account as a user with administrative rights to the repo(s) you would like to link.
  2. Go to the repository's homepage.
  3. Click the  settings icon in the upper right of the page.
    The system displays the repository settings. 
  4. Select Services from the lefthand sidebar.
  5. Select HipChat from the services dropdown list.
  6. Click Add service.
  7. A new section appears for the HipChat service. Enter the following information:

    API URL Enter http://api.hipchat.com/v1/rooms/message or similar. 
    Room ID Enter a HipChat room ID. See How to find a Hipchat room ID below.
    Token Enter a HipChat API Token. See How to create a HipChat API token below. Hipchat recommends you use a notification token but you can use an admin token also.
  8. Click Save settings.

Testing your service

If you have CuRL installed, you can test the token by filling in the fields with your values:  

curl -v -X POST "https://api.hipchat.com/v1/rooms/message?format=json&auth_token=YOURTOKEN" -d "room_id=ROOM_ID&from=NAME&message=STRING"

 How to create a HipChat API token

  1. Log into HipChat using an account with Group admin rights.
  2. Select the  Group admin from the application menu.
  3. Choose the API tab.
  4. Set the token Type to Notification.
    Use notification tokens for integrating HipChat with other services. 
  5. Press Create.

 How to find a HipChat room ID

  1. Log into HipChat.
  2. Select the My account from the application menu.
  3. Choose the Rooms tab.
  4. Select the room you want.
  5. Look for the API ID field in the room information.

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