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
- Login to your Bitbucket Cloud account as a user with administrative rights to the repo(s) you would like to link.
- Go to the repository's homepage.
- Click the settings icon in the upper right of the page.
The system displays the repository settings.
- Select Services from the lefthand sidebar.
- Select HipChat from the services dropdown list.
- Click Add service.
A new section appears for the HipChat service. Enter the following information:FieldDescription
API URL Enter
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.
- 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
- Log into HipChat using an account with Group admin rights.
- Select the Group admin from the application menu.
- Choose the API tab.
- Set the token Type to Notification.
Use notification tokens for integrating HipChat with other services.
- Press Create.
How to find a HipChat room ID
- Log into HipChat.
- Select the My account from the application menu.
- Choose the Rooms tab.
- Select the room you want.
- Look for the API ID field in the room information.
Was this helpful?
Thanks for your feedback!