Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
4,462,567
Community Members
 
Community Events
176
Community Groups

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

Hi,

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": https://support.atlassian.com/bitbucket-cloud/docs/integrate-bitbucket-cloud-with-slack/ .

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. - https://jira.atlassian.com/browse/BCLOUD-16227
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.

Regards,
Mark C

Hi @Mark C 

Thanks for the detailed answer, this is very helpful!

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events