Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version. Compare with Current ·  View Page History

Compatibility Matrix

Plugin

0.1

0.2

0.2.1

0.3

1.0

Jira 3.x

(tick)

only 3.13 (tick)

(tick)

(tick)

(tick)

Jira 4.x

(minus)

(plus)

(tick)

(tick)

(tick)

Jira 5.x

(question)

(question)

(question)

(tick)

(tick)

Description / Features

This plugin connects Sonar to Altassian JIRA in various ways.

Widget "JIRA Issues"

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

In order to get it working, you should first make some configuration:

  1. Go to your Jira and create filter. Mark it as a favorite. Also you can share this filter with your team in order to allow usage of URL for issues in Sonar.

  2. Then from a project dashboard (or from the global configuration), go to "Settings -> JIRA", and specify the "Server URL", "Username" and "Password" properties.

  3. And finally specify the "Filter name" property for project or module: this is the name of an issue filter that you have previously created on JIRA (check JIRA documentation to know more about issue filters).

After the next analysis, you can activate the "JIRA Issues" widget for one of your dashboards, and you should see something similar to this:

Link a Sonar review to a JIRA ticket (version >= 1.0 & Sonar >= 3.1)

This feature allows you to create a review (on a violation) that will generate a JIRA ticket on your configured JIRA instance.

In order to get this working, you need:

  1. To have the the "Server URL", "Username" and "Password" properties specified in the global or project settings
  2. To specify, for your project, the "JIRA project key" property that is the key of the JIRA project on which this Sonar plugin will generate tickets

Then, once you're logged in, you should find the "Link to JIRA" action available on any violation:

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

And the corresponding JIRA look like:

Usage & Installation

  1. Install the JavaScript plugin through the Update Center or download it into the SONAR_HOME/extensions/plugins directory
  2. Restart the Sonar server
  3. Configure the plugin at global level and for each project as described in the previous section
Connecting to JIRA through HTTPS

If you must connect to your JIRA instance through HTTPS, and if a certificate is required for this connection, then you must import the certificate into the CA store of the JRE that runs sonar.

Changelog

Release 1.0 (7 issues)
Type Key Summary Priority Status Resolution
Improvement SONARPLUGINS-1908 Add Spanish Localization Major Closed Fixed
Improvement SONARPLUGINS-1902 Add Greek Localization Major Closed Fixed
Task SONARPLUGINS-1866 Check compatibility with JIRA 5.x series Major Closed Fixed
Improvement SONARPLUGINS-1865 Add L10n to the JIRA plugin Major Closed Fixed
New Feature SONARPLUGINS-1847 Link a review with a JIRA issue Major Closed Fixed
Improvement SONARPLUGINS-1072 Use masked password field Major Closed Fixed
Bug SONARPLUGINS-1864 Missing description for the JIRA widget Minor Closed Fixed

 

Release 0.3 (1 issues)
Type Key Summary Priority Status Resolution
Task SONARPLUGINS-812 Change plugin key to comply with standards Major Closed Fixed

 

Release 0.2.1 (3 issues)
Type Key Summary Priority Status Resolution
Improvement SONARPLUGINS-583 Do not log errors when filter name is missing Major Closed Fixed
Improvement SONARPLUGINS-521 Extend compatibility to Jira version previous to 3.13 Minor Closed Fixed
Improvement SONARPLUGINS-500 Use sonar-plugin packaging Major Closed Fixed

 

Release 0.2 (5 issues)
Type Key Summary Priority Status Resolution
Bug SONARPLUGINS-428 Username/Password shouldn't be viewable via WS API Major Closed Fixed
Improvement SONARPLUGINS-296 Improve error logging Major Closed Fixed
Improvement SONARPLUGINS-284 Upgrade to be compatible with Jira 4 Major Closed Fixed
Improvement SONARPLUGINS-179 Jira plugin : add links to Jira Major Closed Fixed
New Feature SONARPLUGINS-168 Add jira filters Major Closed Fixed

 

Release 0.1 (3 issues)
Type Key Summary Priority Status Resolution
New Feature SONARPLUGINS-171 Create a parameter that takes dynamically the filter to be used Major Closed Fixed
New Feature SONARPLUGINS-167 Displaying the repartition by priority Major Closed Fixed
New Feature SONARPLUGINS-127 Create a Sonar Jira Plugin Major Closed Fixed

Labels
  • None