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

Thinking Big
June 13, 2022
Thinking Big
In today's world, thinking big is not an optional choice anymore. You either proactively solve for the world scale or not, you either broaden your thinking or you loose.
Read more >
Jira Development Panel for GitHub and GitLab
May 11, 2022
Jira Development Panel for GitHub and GitLab
Have you thought about connecting GitLab or GitHub to Jira to easily create feature branches and 1-click jump to the branches and pull requests related to a Jira issue? You can do this by connecting GitHub, GitLab or Gerrit using Jigit app that integrates git system with Jira On-Premises. Please read on if you are interested to see how it looks and how this integration can benefit you and your team.
Read more >
Azure DevOps Confluence Data Center Connector
April 12, 2022
Azure DevOps Confluence Data Center Connector
Learn here how to improve your technical documentation in Confluence Data Center running On-Premises and bring real-time information from Azure DevOps into Confluence pages and blog posts.
Read more >