Tag Archives: code quality

Automatic assignment of issues in #SonarQube

For those who uses SonarQube to keep an eye on code quality you probably aware there is no abilities to automatically assign issue to it’s author, except commerce plugin for that.

In order to fix mentioned little pain there is a small Groovy script that uses Sonar REST API to ensure that issues are assigned to authors according to SCM.

Script by it’s own logs into SonarQube to retrieve opened and not assigned yet issues, looks up for source code author and performs assignment. After that SonarQube just does a notifications.

Here is a script with basic usage https://github.com/webdizz/embezzler.