Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bitbucket-Slack webhook integration problem

TODO:  receive only specific notification(on commit only) from Bitbucket at specific Slack channel 

What I did: 

  • Created a new pp at Slack 
  • connect the App to Slack channel
  • got a webhook from the App
  • at bitbucket opened my repo, selected “Settings” in left navigation
  • “Workflow” section, click “Add webhook” button
  • Gave the webhook a unique name and paste in the hook generated by Slack as described above

No matter what triggers I tried to use (push only) or choose from list - nothing is happening when I make a commit

But, if I simply use Slack webhook together with curl -X POST -H ..... - I successfully get my messages in desired Slack channel.

What should I to make this work?

1 answer

1 accepted

1 vote
Answer accepted

Hello Kliment and welcome to the Community!

Connecting Bitbucket to slack should not require a webhook, the application should prompt for the Slack channel and then configure the application. You chat settings  within Bitbucket should look as follows:


The older webhook method should be removed when configuring the new method:

If your repository uses the prior Slack integration

If your repository is already set up to trigger notifications for Slack, we recommend that you deconfigure the integration to avoid duplicate notifications. You can stop these notifications from either Bitbucket or Slack.

  1. From Bitbucket, remove the repository's Slack webhooks:
  2. From your repository's Settings, click Webhooks.

Click Delete for the webhooks configured for Slack.

  1. From Slack, remove the Bitbucket app:
  2. From the Slack App Directory, click Manage.

Find the Bitbucket app (with the old logo) and remove the app.

Source document: Bitbucket Cloud for Slack

Using the new application method should allow you to integrate Bitbucket with Slack without the need for webhooks.

If you’re still having issues with the integration, please let us know.

Stephen Sifers

Hello Stephen!
Thanks for your help and I'm glad to be a part of the community!
Your advice was helpful, but I need to specify some things.

I've got genuine Bitbucket and Jira bots running at my Slack workspace. They doing their job fine, however I do receive duplicate notifications from the bots themselves and to #general channel as well.

You suggest to remove the Bitbucket app. Does it mean that Atlassian's Bitbucket app doesn't need anymore and I'll be able to receive notifications just by setting up Chat notifications in my repositories' Settings?

And does the same method can be applied to Jira bot and notifications too?

Hello Kliment,

Any Bitbucket webhook connections which are in place between Slack and Bitbucket should be removed and replaced with the new Bitbucket App. With this said, if you’re getting duplicate messages from Bitbucket to Slack via the app then we may have another issue present.

Can you please clarify if the duplicates are from a webhook or the Bitbucket app?

Stephen Sifers

Previously it worked well also with Webhook's, so now the new way is to use the Bitbucket Cloud App?

I do not manage to find a Chat Notification option in my Repository settings. I have tried all the other ways of Slack integration without success.

Suggest an answer

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

Calling any interview participants for Bitbucket Data Center

Hi everyone,  We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...

503 views 6 4
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