Bitbucket is a web-based hosting service used for source code and development projects that use either Mercurial or Git revision control systems. 

It is similar to GitHub, which primarily uses Git. Bitbucket focuses on helping professional developers with private proprietary code.

As of September 2016, Bitbucket announced it had reached 5 million developers and 900,000 teams on its platform. Bitbucket has 3 deployment models: Cloud, Bitbucket Server and Data Center. 

Pipefy's Bitbucket app doesn't support Bitbucket Server and Data Center yet. 

By enabling Pipefy's Bitbucket pipe app you will no longer need to open Bitbucket to keep track of your pull requests.

Connect Pipefy to Bitbucket and attach pull requests to your cards to keep track of them, easily checking the cards to find out whether your requests have been merged.

How to enable the Bitbucket app?

Enabling this app is easy: open the sidebar menu of your pipe clicking on the gear icon on the upper right corner of the screen then click on apps.

Within the apps list, click on Bitbucket. This window will pop-up:

Click on the green 'Enable' button to activate the app. The following icon will be displayed inside your cards:

Once you click on it, the Bitbucket app tab will open on the left side of the card. When you click on "attach" for the first time you'll have to authorize Pipefy to access your Bibucket account.

Click on "Authorize Bitbucket account" to open a box where you'll authorize Pipefy to access the data in your Bitbucket Cloud repositories. Pipefy's Bitbucket app doesn't support Bitbucket Server and Data Center yet. 

Click on 'Authenticate' to open a pop-up window where you'll grant access to Pipefy:

Once you've authorized Pipefy, click on 'attach' again to choose among your repositories (if you have many repositories you can type its name on the search box to help you find the right one):

After you select the repository you'll search for the pull request you want to attach to this card:

Once you attach a pull request to a card, this is how it'll look like:

You'll see the PR's name, its repository, its number, labels and the name of the person that created it, as well as the branches it'll be merged from and to.

You can attach multiple PRs from multiple repositories to a card. Each time you click on attach, Pipefy will ask you to pick the repository and PR. 

When you click on the PR within the card you'll be redirected to Bitbucket.

You'll also be able to see in the closed cards how many pull requests are attached to this card and how many have been merged. 

If the icon is green it means all PRs have been merged. If it's yellow it means that at least one of the attached pull requests haven't been merged yet.

The PRs status is automatically updated every minute so you can be sure the information displayed in your cards is always up to date.

To disable this app, simply open the sidebar menu > apps > Bitbucket and click on 'disable'.

Did this answer your question?