How to get Microsoft Teams notifications from Atlassian Bitbucket Cloud

To get Microsoft Teams notifications from Bitbucket you need to use Microsoft Teams Bitbucket Connector from Move Work Forward
January 3, 2022
Productivity
Use-Case
Microsoft Teams

Have you wondered how not to always jump into Bitbucket to see if your PRs are approved/rejected, Bitbucket pipeline failed, or a pull request created in a repo where you are an owner?
With Microsoft Teams Bitbucket Connector, you can configure the rules when you want to get notifications. You need to install it in the Marketplace, which is available in the Settings of your Bitbucket Workspace.
To begin with, you need to create an Incoming Webhook Connector standard Connector from Microsoft Teams.

How to get Microsoft Teams notifications from Atlassian Bitbucket Cloud
Use Incoming Webhook Connector from Microsoft Teams

How to get Microsoft Teams notifications from Atlassian Bitbucket Cloud

How to get Microsoft Teams notifications from Atlassian Bitbucket Cloud
Copy the Incoming Webhook URL to use it in Bitbucket

As a result, you will get a webhook URL that is used to receive notifications.
Create a notification rule for the pull requests in the settings of your repository.

How to get Microsoft Teams notifications from Atlassian Bitbucket Cloud
Setup a rule in Microsoft Teams Bitbucket Connector to receive notifications about Pull requests
How to get Microsoft Teams notifications from Atlassian Bitbucket Cloud
Pull request created event from Bitbucket is received in Microsoft Teams
How to get Microsoft Teams notifications from Atlassian Bitbucket Cloud
Pull request approved event from Bitbucket is received in Microsoft Teams

To get notified about build status updates, you need to watch the commit status updates. Bitbucket does not differentiate how the status was updated (via the Bitbucket own pipeline or a 3-rd party continuous integration system like CircleCI or BuildKite).

You need to create a rule in Microsoft Teams Bitbucket Connector.

Create a rule for commit status events in Bitbucket to get notifications in Microsoft Teams
How to get Microsoft Teams notifications from Atlassian Bitbucket Cloud
When the Bitbucket pipeline reached the final status the notifications are coming into Microsoft Teams channels.

As a result, you will get the following notifications in Microsoft Teams.

How to get Microsoft Teams notifications from Atlassian Bitbucket Cloud
Microsoft Teams notifications about the Bitbucket pipelines status updates

Products we’re proud of

Articles you might like

Bring information from GitHub into Confluence
December 16, 2020
Bring information from GitHub into Confluence
Integrate GitHub with Confluence to increase team velocity and transparency. Enrich information about pull requests, read me and other files, issues and repositories. Know the state of those items without leaving Confluence.
Read more >
How to integrate Bitbucket Server with Jenkins Pipelines
December 16, 2020
How to integrate Bitbucket Server with Jenkins Pipelines
We want to automate project build using a Parametrised Jenkins Pipeline of the source code stored in Bitbucket Server.
Read more >
Bitbucket Slack channel and hook overrides using patterns
January 3, 2022
Bitbucket Slack channel and hook overrides using patterns
In order to receive Slack notifications to different Bitbucket branches you need to create a pattern expression against source (from) or destination (to) branch.
Read more >

New blog posts

How to extend Atlassian Marketplace app trial license?
August 27, 2022
How to extend Atlassian Marketplace app trial license?
Have you started a trial of a Data Center or Server Atlassian Marketplace application and run out of time before you can make a purchasing decision? Do you need more time to play with an Atlassian Marketplace application? Do you need another trial to give your procurement team more time? You can create a new Atlassian Marketplace application/plugin trial license with a few clicks. You can do it up to 5 times, extending your trial period from the default 30 days to 180 days.
Read more >
How to display Github issue list in Confluence?
August 10, 2022
How to display Github issue list in Confluence?
Using Github links for Confluence you can use a Confluence macro that displays all necessary information about Github issues directly in Confluence.
Read more >
Atlassian Bitbucket Microsoft Azure DevOps Pipeline Integration Demo
August 2, 2022
Atlassian Bitbucket Microsoft Azure DevOps Pipeline Integration Demo
In this demo, you can see how to integrate Atlassian Bitbucket On-Premises (Server or Data Center) with Microsoft Teams Azure DevOps pipelines to streamline your development processes.
Read more >