Other use cases

Bitbucket Pipelines notifications in Slack

Automated Slack notifications for Bitbucket pipelines statuses

Keep everyone up-to-date with automated notifications when a pipeline runs, track progress in your preferred Slack channel and easily identify where failures and slowdowns occur.

How it works

Integrating Bitbucket Pipelines and Slack seamlessly, Actioner brings smart notifications to Slack. You can get notified when a Bitbucket pipeline runs and track successful, failed, and in-progress runs in your preferred Slack channel and pinpoint where errors, failed codes and slowdowns take place.

Slack notifications for Bitbucket pipelines
Slack notifications for Bitbucket pipelines

You can also set automated Slack DMs to get whenever you trigger a pipeline, whether in Bitbucket or in Slack.

Push Bitbucket pipelines notifications to Slack

To begin using Bitbucket Pipelines in Slack follow steps below.

  1. Sign up to Actioner.
  2. Install Bitbucket pipelines app from Actioner app directory.
  3. Connect to Bitbucket and Slack.
  4. Subscribe to Bitbucket events by selecting your Bitbucket workspace and repository you want to subscribe. This creates a webhook on Bitbucket and subscribes to the commit events of the selected repositories. After running it, you will start getting direct message notifications whenever you run the selected pipeline in Bitbucket or in Slack.
  5. Select channel for pipeline run results by selecting your Bitbucket workspace, repositories, Slack channels and the events you want to get notified of. Available event types are; build in-progress, build succeed and build failed.

💡 If you are looking to manually run your pipelines in Slack, visit Running Bitbucket Pipelines in Slack use case.

Setting additional pipeline notifications

If you are looking to generate additional pipeline notifications in different Slack channel after the setup, follow the below steps:

  1. Call Actioner app in Slack.
  2. From the workflow list, click on Select channel for pipeline run results.
  3. Select your Bitbucket workspace, repositories, Slack channels and the events you want to get notified of.

💡If you want to get notifications for different events in different channels, you can re-run this workflow in Slack.

How to get started as an app user

If you are invited to use this app with your colleagues, you only need to connect your Bitbucket account by granting access to Actioner. After connecting, you’ll start getting notifications as direct messages whenever you run a pipeline, whether in Bitbucket or in Slack. You can track the live status of your pipelines in Slack and the live status of each individual jobs showing the status of the pipeline.

If you are looking to get notified of different pipeline statuses in different Slack channels, follow steps above for Setting additional pipeline notifications.

Some other handy workflows

Running Bitbucket Pipelines in Slack

Trigger Bitbucket pipelines in Slack without complex configuration

Bitbucket pipelines
Slack

Frequently asked questions

Can I set notifications for different Bitbucket pipeline runs in different Slack channels?

Yes, you can get notifications for multiple Bitbucket pipelines in different Slack channels. Check out Bitbucket pipelines app documentation to learn how.

I'm not getting a direct message when I run a pipeline in Slack

If you don’t receive DM for the pipelines that you have run, please follow the steps described in this documentation.