Skip to content

timwebster9/sonar-issue-handler-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sonar-issue-assign-plugin

This plugin will automatically assign new issues raised in the current analysis to the SCM author responsible for the violation. The out-of-the-box SonarQube notification framework will then automatically notify the assignee, if configured.

If the author is not registered in SonarQube the issue will be assigned to a configurable default assignee.

The plugin can handle scenarios where the violator is not the original author of the code in which the issue is raised, but rather the last committer. For example, in metrics where the length of a method has exceeded the maximum threshold. In this case the issue will be assigned to the last committer.

For Git users, the SCM author is an email address. The plugin can map this email address to a Sonar user, provided the email address is the same for the SCM and SonarQube accounts.

The plugin is configurable on a project level. Configurable items include: enable/disable the plugin, default assignee if SCM author doesn't exist in SonarQube, an 'override' assignee that is useful for testing so that other users are not spammed with notifications.

This plugin was written using the SonarQube 4.1 API, and tested on Subversion 1.7 and Git.

Future plans:

associate issue with a configurable action plan (v4.3+)

improve efficiency of SCM measure collection (only collect measures for resources that have new issues raised against them)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages