Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

At project level, issues can be browsed through the Issues Drilldown:

Issues Service

At global level, an Issues Service is available to search issues by project, status, assignee, etc:

...

SonarQube comes with several widgets that are specialized to display issues information on dashboards. These widgets are grouped in their own Issuescategory:

By default the "Rules Compliance" widget, showing the number of issues by severity, is included on the main dashboard:

...

Out of the box, SonarQube comes with an Issues dashboard displaying some of these widgets:

...

To review an issue, you must be logged in and have the 'User' role Browse permission on the project the issue is in.

...

To make sure that an issue will be reviewed and eventually fixed, you can start a workflow of resolution.

Possible Status: Closed, Confirmed, Open, Reopened, Resolved
Possible Resolution: False positive, Fixed, Removed

Manual workflow (through the web interface)

...

To mark an issue as false positive, click on the False positive link.

Note that false positives are not displayed by default in the component viewerComponent viewer. To display them, select False positives in the dropdown drop-down list:

If you tend to mark a lot of issues as false positives, it means that some coding rules are not adapted to your context. So, you can either completely deactivate them in the quality profile or use the Switch Off Violations plugin to not check them on specific parts (or types of object) of your application.

...

The severity of any issues can be changed by clicking on the Change severity link.

Linking an issue to an action plan

...

Action plans can be created by project administrators from Configuration > Action Plans:


Each issue can then be linked to an action plan:

...

Execute your search query and click on "Bulk Change". You can then apply some bulk changes such as:

  • Assign all the selected issues to a specific developer
  • Reopen all the selected issues
  • Flag all the selected issues as false positives
  • ...

Issues Drilldown

Issues of the selected component are listed:

...

  • Assign all the new violations since the previous analysis to a specific developer
  • Change the severity of all the minor violations to major
  • ...

Creating a Manual Issue

An issue can be created by clicking on the '+' button  button in the first column of the component viewer:

...

Note that manual rules have to be previously defined by a System administrator.

 The issue is then displayed within the source code and can be reviewed as any other issues:

...

By default, Closed issues are kept for 30 days. For more details, browse the Database Cleaner documentation page.