Compatibility Matrix

Plugin

1.0

Redmine 1.3.0+

(tick)

Redmine 2.0+

(tick)

Redmine 1.1.0 - 1.3.0

(question)

Description / Features

This plugin connects Sonar to Redmine issue and project management tool in various ways.

Widget "Redmine Issues"

Sonar retrieves the number of open issues associated to a project from Redmine. It then reports on the total number of issues and distribution by priority.

< IMAGE TO BE PLACED HERE >

Link a Sonar review to a Redmine Issue

This feature allows you to create a review (on a violation) that will generate a Redmine Issue on your configured Redmine Installation

When logged in, you should find the "Link to Redmine" action available on any violation:

< IMAGE TO BE PLACED HERE >

You can enter any comment and after you press "Link to Redmine", a new review comment is added on the violation: you can see the link to the newly-created Redmine issue.

< IMAGE TO BE PLACED HERE >

And the corresponding Redmine Issue looks like:

< IMAGE TO BE PLACED HERE >

Installation

  1. Install the Redmine plugin through the Update Center or download it into the SONAR_HOME/extensions/plugins directory
  2. Restart the Sonar server

Usage

Mandatory Properties

At project or global level go to Settings > Redmine and set the sonar.redmine.host, sonar.redmine.api-access-key and sonar.redmine.project-key properties.

To find Redmine's API Access Key

  1. Log in to your Redmine installation with administration rights

  2. Navigate to Administration > Settings > Authentication
  3. Enable Rest Web Service API
  4. Go to the "My Account" page ( /my/account ) and create a new API Access key on the right panel of your screen.

  5. Copy and paste it to the appropriate property sonar.redmine.api-access-key at project or global level


Change Log