Issues reported in Bitbucket Cloud

In Bitbucket Cloud, you can view the analysis metrics of the main branch in the Bitbucket repository overview, and the issues detected on your pull requests.

Analysis metrics of the main branch

To view the analysis metrics of the main branch in the Bitbucket repository overview:

1. Select Source in the left sidebar. The quality metrics for the main branch are displayed at the top of the page as illustrated below.

In the BitBucket cloud interface, select Source to navigate to the quality metrics generated by the SonarQube Cloud project analysis results.

2. Select View more details in SonarCloud to view the full report.

Pull request decoration

When viewing an analyzed pull request you will see quality metrics displayed as illustrated below.

Screenshot of the pull request quality gate widget in BitBucket.

Additionally, the right sidebar contains a code insights section that provides access to code reports. The keyboard shortcut to expand and collapse the right sidebar on repository pages is ].

Screenshot showing how to access the SonarQube Cloud code reports in the BitBucket interface sidebar.

You can expand the Report section and select SonarQube Cloud Code Analysis to view a full report of all the issues SonarQube Cloud found in the pull request:

Screenshot of the full report of all the issues found in the pull request by SonarQube Cloud.

You don’t have to navigate to SonarCloud.io because this view lets you see the issues identified by SonarQube Cloud right in Bitbucket.

Setting up Bitbucket Cloud integration for your project

Last updated

Was this helpful?