Skip to main content

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.

Get started as a user

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

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.

Install Bitbucket pull request management

Step 2. Connect to Bitbucket and Slack

After installing the app, you'll be prompted to connect your Slack workspace and Bitbucket account.

Connections for Bitbucket pull request management

Complete Bitbucket connection

  1. Click Connect near Bitbucket connection and proceed to authentication in Bitbucket via OAuth2.
  2. You will be asked to sign in to your Bitbucket account if you haven't already.
  3. 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.

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

Setup Bitbucket pull request management

  1. 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.

  2. 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.

  1. Navigate to Bitbucket connection, click Connect and proceed to authentication in Bitbucket via OAuth2.
  2. You will be asked to sign in to your Bitbucket account if you haven't already.
  3. 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.

Update emoji to send Slack messages as comments to Bitbucket PR requests

To use another emoji to add comments to the PR Bitbucket,

  1. Navigate to Workflows tab of your app and find the workflow named Add comment to pull request with pin emoji.
  2. 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.

  1. Go to Slack and call Actioner from shortcuts, or simply type /actioner.
  2. Select the repo that you want to add.
Note

You do not need add the repositories that this app previously subscribed to their events.