Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{iframe:src=http://update.sonarsource.org/plugins/redmine.html|width=700|height=250|frameborder=0}
Your browser does not support iframes.
{iframe}

Description / Features

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

...

SonarQube 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 >Image Added

Link a SonarQube review to a Redmine Issue

...

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

< IMAGE TO BE PLACED HERE >Image Added

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 >Image Added

And the corresponding Redmine Issue looks like:

< IMAGE TO BE PLACED HERE > Include PageInclude - Plugin InstallationInclude - Plugin InstallationImage Added

Requirements

Plugin

0.1.0

Redmine 1.3.0+

(tick)

Redmine 2.0+

(tick)

Redmine 1.1.0 - 1.3.0

(question)

Include Page
Include - Plugin Installation
Include - Plugin Installation

Usage

Mandatory Properties

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

...

Before you configure the plugin you need to get 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

    the API Access key to use it in plugin configuration

Plugin configuration

At Global level, go to Settings -> Redmine and set Redmine's URL and API Access key you copied from previous step

At Project level, go to Configuration -> Redmine Configuration Page

Image Added


  1. Set the general settings for accessing Redmine : URL and the API Key you copied from previous step.
  2. Set the project key and click on the <Test the settings; gets priorities and trackers> button
  3. Pick up a default priority and default tracker for the redmine issues and save your settings

Image Added

Change Log

JIRA Issues
anonymoustrue
titleRelease 1.0
height70
renderModestatic
width900
columnstype;key;summary;priority
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=19041&pid=11911&sorter/field=priority&sorter/order=DESC&tempMax=1000

...