Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to set up Bitbucket/Slack integration using the API?


We're trying to set up our internal Slack with our Bitbucket repos in order to receive notifications when a branch is merged for example. This is described in this document under "Subscribe Slack channels to Bitbucket repositories": .

Since we use quite a lot of different repos we would like to automate the integration through a script, but couldn't find any documentation about how to do that using the API. Is that even possible? And if so what are the steps to follow please?

Thanks in advance

1 answer

1 accepted

1 vote
Answer accepted
Mark C Atlassian Team May 30, 2022

Hi @Matthieu Buot de l'Epine

Welcome to the community.

Unfortunately, it's not possible to set up Slack in multiple repositories via API.
For now, you'll have to manually set up the Slack integration to subscribe to a channel for each repository.
We do have an existing feature request for it that can be located through this link. -
You can upvote and watch it for now so that you'll be notified of any updates from our team when the feature becomes available on Bitbucket Cloud.
Please do note that we don't have an exact ETA for the feature request as all new features will be implemented according to our policy here.

Do let me know if you have further questions that I can help with.

Mark C

Hi @Mark C 

Thanks for the detailed answer, this is very helpful!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,224 views 2 9
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you