Versions Compared

Key

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

Compatibility Matrix

Plugin

1.0

Redmine 1.3.0+

(tick)

Redmine 2.0+

(tick)

Redmine 1.1.0 - 1.3.0

(question)

Wiki Markup
{iframe:src=http://update.sonarsource.org/plugins/redmine-confluence.html|width=700|height=250|frameborder=0}
Your browser does not support iframes.
{iframe}

Description / Features

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

Widget "Redmine Issues"

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

< IMAGE TO BE PLACED HERE >

Image Added

Widget "Redmine Developers"

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 developers.

Image Added

Link a SonarQube

...

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

Installation

  1. Install the Redmine plugin through the Update Center or download it into the SONAR_HOME/extensions/plugins directory
  2. Restart the SonarQubeTM 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.

...

Image Added

Requirements

Plugin

0.1

0.2

Redmine 2.2+

(tick)

(tick)

Redmine 2.0 - 2.1

(error)

(error)

Redmine 1.x.x

(error)

(error)

Include Page
Include - Plugin Installation
Include - Plugin Installation

Usage

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

...

  1. 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
columnstype,key,summary,priority
serverJira
serverId783251d2-f893-303d-8e04-42a47af1ca3a
jqlQueryproject = SONARPLUGINS AND fixVersion = "REDMINE-0.2"
maximumIssues20

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