# Issues reported in Bitbucket Cloud

## 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.

<div align="left"><figure><img src="/files/ouoSv1eSq7rMPlzcmFmr" alt="In the BitBucket cloud interface, select Source to navigate to the quality metrics generated by the SonarQube Cloud project analysis results."><figcaption></figcaption></figure></div>

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

{% hint style="info" %}
This feature is supported for a bound project if enabled in Bitbucket Cloud. See [Configuring Bitbucket Cloud project binding](/sonarqube-cloud/managing-your-projects/administering-your-projects/devops-platform-integration/bitbucket-cloud.md) for more details.
{% endhint %}

## Pull request decoration

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

<div align="left"><figure><img src="/files/wlPic4eSRHxVuy7mvanU" alt="Screenshot of the pull request quality gate widget in BitBucket."><figcaption></figcaption></figure></div>

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 `]`.

<div align="left"><figure><img src="/files/VqtKcmfIl9FscfzDhfnJ" alt="Screenshot showing how to access the SonarQube Cloud code reports in the BitBucket interface sidebar."><figcaption></figcaption></figure></div>

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:

<div align="left"><figure><img src="/files/rZ6JYYeET00IQYZUl09e" alt="Screenshot of the full report of all the issues found in the pull request by SonarQube Cloud."><figcaption></figcaption></figure></div>

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.

{% hint style="info" %}
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](/sonarqube-cloud/managing-your-projects/administering-your-projects/devops-platform-integration/bitbucket-cloud.md) for more details.
{% endhint %}

## Related pages <a href="#related-pages" id="related-pages"></a>

* [Configuring Bitbucket Cloud project binding](/sonarqube-cloud/managing-your-projects/administering-your-projects/devops-platform-integration/bitbucket-cloud.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sonarsource.com/sonarqube-cloud/managing-your-projects/issues/in-devops-platform/bitbucket-cloud.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
