Disallow sending message from HipChat

We would like to be able to disallow the use of HipChat for chat rooms that are not configured/linked with at least one Bitbucket repository.

Could such a thing be done with some custom coding or maybe with some configuration options.


Many thanks for clarifying this


Patrick Vanbrabant

2 answers

0 votes

Currently, it's not possible to prevent chatting in a room unless that room is archived (or deleted entirely). I don't believe there's any way for one addon to see what other integrations are installed in a room (for privacy/security reasons), which is what would probably be needed in order to get the behavior you're looking for.

One option if you're looking for finer control over room creation is to restrict it to admins-only, which can be done via hipchat.com/admin/preferences. Then you could have admins ensure that any rooms created have at least Bitbucket repo connected to them (although still a manual process, unfortunately).

Hi Christopher,


Many thanks for that answer. The manual process is of course always possible. I was more hoping for a more automated way.

We do not want to restrict the creation of a HipChat room to only admins. It would create a big bottleneck

I'm thinking if it would be possible using java or rest API, to query all Bitbucket Repositories and see if they are linked up with a HipChat room.

Then we could run some scheduled job, to check if for each of the HipChat rooms, there is a Bitbucket repository for which this HipChat room was specified.

I looked for this in the documentation, but could not find something directly.

Do you have any thoughts links


Many thanks



I'm less familiar with the Bitbucket API, so I'm not sure whether it provides a way to determine whether what room(s) a given repository is connected with. After a quick glance through the docs, perhaps something like https://confluence.atlassian.com/bitbucket/consumers-resource-296093099.html might be a good place to start. 

If it turns out that you can determine HC/BB connection, then you might need to filter through all of your HipChat rooms by name in order to figure out which room is associated with Bitbucket.

Hi Christopher,

Many thanks for your answer.

I was thinking in that direction.

I will need to do some further researching for BitBucket,


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 14, 2018 in Hipchat Cloud

Hipchat Cloud and Stride End of Life: Just over 90 days away

Earlier this year we made the difficult decision to discontinue our team messaging tools, Stride and Hipchat. The end of life date for Stride and Hipchat Cloud is quickly approaching - February 15, 2...

482 views 0 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you