Bitbucket pull request management
Learn how to get started with pull request management solution for Bitbucket.
Install Bitbucket pull request management from app directory and start using it by connecting your Bitbucket and Slack accounts.
If you are invited to this app as a user, proceed to Get started as a user section to learn how to connect your Bitbucket account.
Features
Review your Bitbucket pull requests through ephemeral Slack channels, notify your team about commits to the main branch.
Use cases
- Bitbucket PR notifications in Slack: Automatically create ephemeral Slack channels dedicated to open pull requests.
- Broadcast Bitbucket commits to main: Keep track of commits to the main branch without leaving Slack.
Get started as an app admin
Step 1. Install Bitbucket pull request management
Visit Bitbucket pull request management in app directory and click Install button at top right corner.
Step 2. Connect to Bitbucket and Slack
After installing the app, you'll be prompted to connect your Slack workspace and Bitbucket account.
Complete Bitbucket connection
- Click Connect near Bitbucket connection and proceed to authentication in Bitbucket via OAuth2.
- You will be asked to sign in to your Bitbucket account if you haven't already.
- Click Grant access. You’ll be redirected to Actioner upon successful authorization.
Complete Slack connection
If you have not connected your Slack workspace, you can click Connect near Slack connection.
You can also add your Slack workspace by navigating to Workspace settings page from left menu and then switching to Slack workspace tab.
If you do not see Workspace settings page, contact with your workspace admin.
Step 3. Complete setup
Run Subscribe to Bitbucket PR events action first. This action creates a webhook in Bitbucket for the repositories you selected and subscribes to pull request events.
Run Set Slack channel action. This action creates a new channel in Slack with the prefix you select. Actioner notifies your team by sending a message to this channel when a commit is pushed to the main branch. Also, anyone who joins this channel receives an onboarding message from Actioner.
Step 4. Finish setup guide
When all steps in setup guide are completed, app is ready to be run in Slack.
Get started as a user
If you are invited to this app as a user, you need to complete Bitbucket connection. This connection is required for you to take actions on Bitbucket notifications and to run workflows from Actioner shortcut in Slack.
- Navigate to Bitbucket connection, click Connect and proceed to authentication in Bitbucket via OAuth2.
- You will be asked to sign in to your Bitbucket account if you haven't already.
- Click Connect app. You’ll be redirected to Actioner upon successful authorization.
How to customize this app
Pull request or merge request reviews with a different tool
If you are using GitHub or GitLab, you can install Actioner apps that work in Slack with your version control tool.
- Install GitHub pull request management
- Install GitLab merge request management
Update emoji to send Slack messages as comments to Bitbucket PR requests
To use another emoji to add comments to the PR Bitbucket,
- Navigate to Workflows tab of your app and find the workflow named Add comment to pull request with pin emoji.
- Update the Emoji field with the emoji you want to use.
Add a new repo to this app
If your team is working on multiple repos, you can add all of them by running the workflow named Subscribe to Bitbucket PR events.
- Go to Slack and call Actioner from shortcuts, or simply type
/actioner
. - Select the repo that you want to add.
You do not need add the repositories that this app previously subscribed to their events.