* Version 1.0 is expected for June 2012, and will be compatible with Sonar versions greater than or equal to 3.1.
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:
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.
Then from a project dashboard (or from the global configuration), go to
"Settings -> JIRA", and specify the "
Server URL", "
Username" and "
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:
- To have the the "
Server URL", "
Username" and "
Password" properties specified in the global or project settings
- 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
- Stop Sonar Web server
- Copy the JAR file to the directory extensions/plugins/
- Restart Sonar server
- Configure the plugin at global level and for each project as described in the previous section.
Release 1.0 (7 issues)
|SONARPLUGINS-1072||Use masked password field||Closed||Fixed|
|SONARPLUGINS-1847||Link a review with a JIRA issue||Closed||Fixed|
|SONARPLUGINS-1865||Add L10n to the JIRA plugin||Closed||Fixed|
|SONARPLUGINS-1866||Check compatibility with JIRA 5.x series||Closed||Fixed|
|SONARPLUGINS-1908||Add Spanish Localization||Closed||Fixed|
|SONARPLUGINS-1902||Add Greek Localization||Closed||Fixed|
|SONARPLUGINS-1864||Missing description for the JIRA widget||Closed||Fixed|
Release 0.3 (1 issues)
|SONARPLUGINS-812||Change plugin key to comply with standards||Closed||Fixed|
Release 0.2.1 (3 issues)
|SONARPLUGINS-583||Do not log errors when filter name is missing||Closed||Fixed|
|SONARPLUGINS-521||Extend compatibility to Jira version previous to 3.13||Closed||Fixed|
|SONARPLUGINS-500||Use sonar-plugin packaging||Closed||Fixed|
Release 0.2 (5 issues)
|SONARPLUGINS-428||Username/Password shouldn't be viewable via WS API||Closed||Fixed|
|SONARPLUGINS-296||Improve error logging||Closed||Fixed|
|SONARPLUGINS-284||Upgrade to be compatible with Jira 4||Closed||Fixed|
|SONARPLUGINS-179||Jira plugin : add links to Jira||Closed||Fixed|
|SONARPLUGINS-168||Add jira filters||Closed||Fixed|