Bitbucket is a web-based hosting service for projects that use Git revision control systems.

1. What can we do currently?

Right now you can connect a Bitbucket repository with a Taiga project and generate a one-way communication (from Bitbucket to Taiga) to:

2. And what can’t we do?

  • Create issues on Taiga when they are created on Bitbucket.

  • Add comments to the connected issues on Taiga when they are created on Bitbucket.

  • Dual synchronization: currently the integration functionality only allows receiving messages from Bitbucket. Taiga can’t communicate with Bitbucket (the one-way communication is from Bitbucket to Taiga), so changes made in Taiga won’t be reflected in Bitbucket.

  • Show commit links in Taiga issues: If you name a story, task or issue in a commit message (by its reference number) a link to commit not appear in Taiga.

  • Sync current Bitbucket issues and comment when the integration module in Taiga is enabled: the integration only works with the future issues and comments added in Bitbucket.

Currently Bitbucket offers some limitations on its webhooks system that must be considered. These limitations are not hardcore but it’s good to know them to be aware of the limitations that exist.

  • Bitbucket doesn’t sign the messages so Taiga only can confirm the origin checking the IPs in the request. Bitbucket can change their IP ranges of their servers when they want so with every change you have to update your configuration in Taiga to prevent errors.

  • Webhooks messages can only contains a maximum of 5 commits (up to 5 of the most recent commits pushed) according to the Bitbucket documentation.

Integration will always take time so please be patient. If you need a specific integration and you feel ready to get a machete and get into the Taiga, please review our API Docs and our section in Taiga resources about "How you can contribute?". If you need help with a specific feature, you can always get in touch with our community through our community space.

3. Configure the integration module in Taiga

  1. Go to Admin > Integrations > Bitbucket

  2. Fill secret key or use the auto generated one

  3. Copy the Payload URL field.

  4. Optionaly you can define the valid emitter IPs or IP ranges to validate the origin of the requests. You can find the valid IP ranges for the Bitbucked Cloud service here.

Bitbucket Panel

4. Configure Webhooks in your Bitbucket repository

  1. Click on Settings > Webhooks

  2. Click on "Add webhook" button

  3. On that form set the url with the payload url of this screen and choose some title (ex. "Taiga.io").

  4. Taiga listens for three different triggers, you can select all of them or just some:

    1. Repository - Push: Changing element status via commit message

  5. Press Save button to create the new webhook

Bitbucket Webhooks