The Blink BitBucket app will generate updates into a conversation each time there is a change to a Pull Request on any BitBucket repository you choose. It works using webhooks (what is a webhook?) and is set up on a per repository basis.
This app is really useful for making sure you're not blocking someones work and to keep an eye on your own pull requests. It works really well in group chats.
Getting this working is straightforward. You invite BitBucket to a conversation on Blink, generate your webhook url, and then give it to bitbucket.org. Simple.
Get your webhook
Open a conversation with the Blink BitBucket app. If the app is not in your contacts, head over into your Blink Launchpad and add the bot to your collection. Then open a conversation with it, or add it to a group chat.
When you start a new conversation with BitBucket it will display a help card from which you can generate a webhook URL for that conversation. Press the button to do that, then copy it to your clipboard.
TIP if you need to re-generate that card for any reason, just say @bitbucket help and it will show you how.
Give the URL to BitBucket.org
PR updates are configured on a per repository basis so for each repo you'd like to receive updates on do the following:
1) Log into your bitbucket.org account and choose your repo
2) Once the repo opens, hit the Settings tab on the left-hand side.
3) In the settings sub-menu on the left-hand side, click Webhooks. Click Add webhook.
4) Paste your webhook into the field called URL, make sure you populate the Title, choose Choose from a full list of triggers and check everything under Pull Request.
Done! Any update to PRs will come through to the chosen chat on Blink. Please note that ONLY PR updates work in the BitBucket app at the moment. This is to keep the quality of the updates we provide as high as possible. If you'd like updates on commits, comments, merges etc. Please talk to us!