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
November 9, 2021
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.

Use Incoming Webhook Connector from Microsoft Teams
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.

Setup a rule in Microsoft Teams Bitbucket Connector to receive notifications about Pull requests
Pull request created event from Bitbucket is received in Microsoft Teams
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
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.

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
August 4, 2021
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 get Microsoft Teams notifications from Atlassian Bitbucket Cloud
November 9, 2021
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
Read more >
Bitbucket Slack channel and hook overrides using patterns
August 4, 2021
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 >
AWS vs Azure vs Google Cloud - Which Cloud Services is better for Enterprises?
July 17, 2021
AWS vs Azure vs Google Cloud - Which Cloud Services is better for Enterprises?
When selecting a cloud platform for your enterprise or organisation, it's almost as if you have an infinite amount of choices. Each service provider has its own set of benefits and features that make them stand out from the crowd, but there is no one best choice without considering all aspects such as budget constraints, available services, etc. Do some research on what type of services will suit your enterprise or organisation best, then decide based on this information.
Read more >