Bitbucket
note: To use this integration, you will need to be on a Team plan or higher. Read about upgrading here.
Link to source code from error stack traces
Connect a Bitbucket repository to an application in Raygun to enable links for applicable frames in your crash-report stack traces. Click a link to open the relevant source file in Bitbucket directly from Raygun.

Bitbucket setup instructions
-
From an application in Raygun, click "Integrations" from the left-hand side menu and select Bitbucket.
-
Switch to the "Setup" tab, then click the Bitbucket button and follow the on-screen instructions to complete the authorization process.

- Once the integration is authorized and you're back in Raygun, select the repository that contains the source code for the application. Also provide the name of the default branch, such as "main". Make sure to mark the integration as "Enabled".
-
Optionally sharing the Bitbucket permissions will allow all your team members with access to the Raygun application to see links on stack frames to view the source code in Bitbucket (provided they are logged into Bitbucket with their own account). Without ticking this option, each team member will need to authorize the Raygun Bitbucket integration themselves in order to see the stack frame links.
-
After configuring the integration, make sure to hit "Save Changes".
Deployment tracking
The Bitbucket integration also supports deployment tracking, which means:
- More detailed deployment information
- Ability to link your commits and release notes directly from Raygun to your source code