Bitbucket

note: To use this integration, you will need to be on a Team plan or higher. Read about upgrading here.

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 set up

  1. From an application in Raygun, click "Integrations" from the left-hand side menu and select Bitbucket.

  2. Switch to the "Setup" tab, then click the Bitbucket button and follow the on-screen instructions to complete the authorization process.

Bitbucket set up

  1. 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".
Bitbucket configuration
  1. 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.

  2. After configuring the integration, make sure to hit "Save Changes".


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