Bitbucket Data Center and Server can send a notifications to a Hipchat room for activities performed in a project or repository, and it works with Hipchat Server or Cloud. Learn more about Hipchat.
What kind of notifications can I get?
The Hipchat integration lets Bitbucket send the following notifications to your Hipchat rooms:
- Pull requests—when they are created, commented, merged, and declined
- Commits—when they are pushed and commented
On this page
Here's an example of what you might see (from an Atlassian Hipchat room):
Install and configure the Hipchat for Bitbucket integration
To enable Bitbucket to send notifications in Hipchat you must connect Bitbucket to your Hipchat instance. In order to do this you need administration privileges for your Bitbucket instance and for Hipchat.
To integrate Bitbucket and Hipchat
- Select Administration Settings > Hipchat integration
- If using Hipchat Cloud, click the Connect Hipchat button, which takes you to hipchat.com sign up page.
If using Hipchat Server, click the link below the Connect Hipchat button, enter your Hipchat server URL, then click Connect Hipchat.
- Log in to Hipchat with an account that has admin rights.
- Click Install to finish installing the Bitbucket Hipchat Addon.
- Select the repository that you want to send notifications from, and the Hipchat room where you want the notifications to appear.
- You can choose multiple rooms to receive notifications from a repository but must add each connection separately.
- Repeat this process for all the repositories where you want to send notifications.
In Hipchat, you will see a notification in your room telling you that notifications were enabled.
Enable Hipchat notifications for a repository
Once Hipchat and Bitbucket are integrated, you can enable and disable Hipchat notifications for a particular repo by going to Settings > Hipchat. You must have admin privileges for the project or repository you want to enable notifications for.
Initially, you will need to click the Log in to Hipchat button to connect your Bitbucket and Hipchat user accounts. If you don't see the Log in to Hipchat button you will need to talk to your Bitbucket administrator and get them to install the integration first.
Now you can add room links between your repository and rooms in Hipchat. Search for the room and press Add to get things going.
You can change the notification types by unticking some of the checkboxes.