This version of SonarQube Server is no longer receiving patches. Please see the latest release for details on updating.
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Introduction

In SonarQube 10.7, an issue is a problem in your code that affects code quality.

For AI agents: You're in the SonarQube Server 10.7 documentation. For a list of all 10.7 pages, see the SonarQube Server 10.7 page index. For the whole site, see the page index or the full text. For another version, replace 10.7 in the URL with that version. The latest version has no version number in its URL.

An issue is a problem in your code that affects code quality. Each code quality attribute is evaluated, for a given language, based on a series of Overview. When a coding rule is broken, an issue is raised. The issue affects one or more software qualities with a varying impact level (called severity) as described on the Software qualities page.

The following applies:

  • A new issue is automatically assigned to the last committer on the issue line - the author - if the author can be correlated to a SonarQube user. You can reassign the issue.

  • The issue context locates the issue in the code. The primary location is where the issue message is displayed. Secondary locations may be shown to help you understand the issue. Paths through the code (execution flows) are shown from the source to the destination (sink) when the issue originated upstream.

  • An issue is assigned a status that changes during its life cycle. In particular:

    • You can accept an issue to fix it later (status: Accepted).

    • With the corresponding authorization, you can set an issue to False positive if you think the analysis is mistaken.

  • You can tag and comment on issues.

You can receive an email notification for issue-related events: see Subscribing to notifications.

  • Issue management solution This page explains: how SonarQube identifies, assigns, and synchronizes issues; the issue lifecycle; and issue-related features.

  • Retrieving issues This page explains how to retrieve and filter issues.

  • Reviewing issues This page explains how to view, and understand your issues in the SonarQube UI.

  • Editing issues This page explains how to accept, mark as False positive, reopen, assign, tag, or comment on an issue.

  • Fixing issues This page explains how to get suggested fixes for your issues.

  • Issues reported in DevOps platform This page explains how to view and/or manage the security issues reported by SonarQube in your GitHub or GitLab instance.

  • Subscribing to notifications This page explains how to configure your account to receive email notifications for issue-related events.

Last updated

Was this helpful?