> For the complete documentation index, see [llms.txt](https://docs.sonarsource.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sonarsource.com/sonarqube-community-build/user-guide/issues/retrieving.md).

# Retrieving issues

Retrieve and view detected issues after your project's analysis.

You can retrieve and view the issues detected during the analysis of any public project. For a private project, you need the Browse permission on the project.

## Retrieving issues <a href="#retrieving" id="retrieving"></a>

Retrieve issues in one of these ways:

* Select **Issues** in the top navigation bar.

<div align="left"><figure><img src="https://1580440648-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbqrfLGeD0Y9vE5l9Le42%2Fuploads%2Fgit-blob-a7555f038d1fb8d2ac7d3bd01372e5a15b1139eb%2Fsonarqube-community-build-issues-top-nav.png?alt=media" alt="Issues page in SonarQube Community Build opened from the top navigation bar, with the My Issues and All toggle above the filters and the issue list." width="563"><figcaption></figcaption></figure></div>

* In a project, go to **Analysis** > **Issues**.

<div align="left"><figure><img src="https://1580440648-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbqrfLGeD0Y9vE5l9Le42%2Fuploads%2Fgit-blob-ad765bde121ddc49be30d14406d87963ce0b28e1%2Fsonarqube-community-build-issues-left-nav.png?alt=media" alt="Issues page of a project in SonarQube Community Build opened from the side navigation, with the All toggle selected above the filters and the issue list." width="563"><figcaption></figcaption></figure></div>

* In a project, go to **Analysis** > **Summary**, then select a number of open issues on the **New code** or **Overall code** tab.

Use the **My Issues** and **All** toggle at the top of the **Filters** section to list only the issues assigned to you or all issues. The selection shown when the page opens depends on where you opened it:

* From the top navigation bar, the page opens with the selection you used last.
* From a project, the page opens with **All** selected.

## Using the Issues page <a href="#using-the-issues-page" id="using-the-issues-page"></a>

The **Issues** page opens with:

1. Filters in the left-side panel.
2. Issue results in the right section of the page.
3. The **Sort by** list above the issue results. By default, issues are sorted by priority. For more information, see [#sorting-issues](#sorting-issues "mention").

<div align="left"><figure><img src="https://1580440648-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbqrfLGeD0Y9vE5l9Le42%2Fuploads%2Fgit-blob-05416d63b4b7365cc74037a3ddb932e41df0b53d%2Fsonarqube-community-build-issues-page.png?alt=media" alt="Issues page of a project in SonarQube Community Build with the filters panel, the issue results, and the Sort by list set to Priority." width="563"><figcaption></figcaption></figure></div>

### Sorting issues <a href="#sorting-issues" id="sorting-issues"></a>

Use the **Sort by** list above the search results to change the order of the issue cards:

<div align="left"><figure><img src="https://1580440648-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbqrfLGeD0Y9vE5l9Le42%2Fuploads%2Fgit-blob-c4e43708b0ee7a2003e91bd1ef416badd371785b%2Fsonarqube-community-build-sorting-issues.png?alt=media" alt="Issues page in SonarQube Community Build with the Sort by list open, showing the Priority, File name, and Creation date options above the issue results." width="563"><figcaption></figcaption></figure></div>

* **Priority**: Lists the issues that matter most first. This is the default order.
* **File name**: Groups issues by file and orders them by line number.
* **Creation date**: Lists the newest issues first.

Your browser remembers the selected order for your next visit.

#### How Priority orders issues <a href="#priority-order" id="priority-order"></a>

In MQR mode, issues are listed in this order:

1. Security and Reliability issues, from highest to lowest severity. At the same severity, Security issues come before Reliability issues.
2. Maintainability issues, from highest to lowest severity.

If an issue impacts more than one software quality, its highest-ranked impact sets its position. Issues with the same priority are ordered by file and line number.

In Standard Experience, issues are listed in this order:

1. Vulnerabilities, from highest to lowest severity.
2. Bugs, from highest to lowest severity.
3. Code smells, from highest to lowest severity.

### Filtering issues <a href="#filtering-issues" id="filtering-issues"></a>

In the **Filters**, enter your search criteria to filter the list of issues.

* To retrieve only new issues in new code, select **Issues in new code** at the top of the **Filters** section.
* To retrieve the issues assigned to you, select **My Issues** at the top of the **Filters** section.
* To retrieve unassigned issues, select **All** at the top of the **Filters** section, open the **Assignee** filter, and select **Not assigned**.

The issue cards are listed in the search results in the right section. An issue card contains the following information:

1. Project name and the path to the code file.
2. The name of the rule that triggered the issue.
3. Impacted software quality (in MQR mode) or type (in Standard Experience).
4. Status of the issue.
5. Assignee
6. Coding attribute
7. Tags
8. Additional information: line number, estimated time effort to fix the issue, the amount of time that has passed since the introduction of the code.

<div align="left"><figure><img src="https://1580440648-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbqrfLGeD0Y9vE5l9Le42%2Fuploads%2FyKx8FlDn4tEs94wsv6h9%2Fsonarqube-issues-result-mqr.png?alt=media&amp;token=b385fdc2-b595-4ea3-9b6a-0689177540c2" alt="Information on the issue’s card helps you understand why it&#x27;s an issue and how it impacts your project in SonarQube Community Build." width="563"><figcaption></figcaption></figure></div>

### Navigating the issues <a href="#navigating-the-issues" id="navigating-the-issues"></a>

To navigate to an issue select the issue card in the search results and press your Right arrow key. The detail view of the issue opens in the right section, and the search results are shown in the left sidebar. To start a new search, press the Left arrow key or navigate one step back in your browser.

## Copying the URL of an issue <a href="#copying-url" id="copying-url"></a>

1. Retrieve the issue and open its detail view.
2. Select the link icon located next to the title.

<div align="left"><figure><img src="https://1580440648-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbqrfLGeD0Y9vE5l9Le42%2Fuploads%2F5jyIlEDN7RYbmLWRXTFJ%2Fsonarqube-issues-copy-link.png?alt=media&amp;token=af29a554-767e-43ed-a947-2084a7963b4f" alt="You will find the Issue copy link on the issue’s details page in SonarQube Community Build." width="563"><figcaption></figcaption></figure></div>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.sonarsource.com/sonarqube-community-build/user-guide/issues/retrieving.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
