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?