If your team uses Bitbucket Data Center, please refer to the Bitbucket Data Center documentation.
For Bitbucket, follow the instructions below.
Stash creates a detailed analysis of your Bitbucket repositories, capturing every file, function, and dependency so it can connect issues and questions directly to the right parts of the codebase. This allows Stash to:
  • Connect issues with the exact code files and lines they impact
  • Show developers where to start when working on an assigned task
  • Eliminate guesswork by surfacing precise context instead of leaving engineers to dig through repositories
This approach makes your Bitbucket repositories a direct source of guidance rather than simply a place to push commits or store legacy code.

Add Bitbucket repositories during project setup

You need to be a Bitbucket workspace admin to create an app password with the necessary webhook permissions.
You connect Bitbucket repositories during the Project Creation Wizard in Stash. At the Repositories step, select Bitbucket from the dropdown and complete the form to continue the setup: Bitbucket You can connect multiple issue trackers under the same project by repeating this step as needed before moving forward in the wizard. Once the Project Creation Wizard is complete, Stash will begin analyzing all connected data sources automatically.