For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

This feature is supported for a bound project if enabled in Bitbucket Cloud. See Configuring Bitbucket Cloud project binding for more details.

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 the SonarQube Cloud's UI because this view lets you see the issues identified by SonarQube Cloud right in Bitbucket.

Pull request decoration is only supported on a bound project and requires that pull request integration be correctly configured for your project. See Configuring Bitbucket Cloud project binding for more details.

Last updated

Was this helpful?