Versions Compared


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


Description / Features

This plugin connects Sonar SonarQubeTM to Altassian JIRA in various ways.



JIRA Issues


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

Link a


SonarQubeTM issue to a JIRA ticket

This feature allows you to link a Sonar SonarQubeTM issue to a JIRA issue. It will create a new JIRA ticket.


And the corresponding JIRA look like:


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


Mandatory Properties

At project or global level go to Settings > JIRA and set the sonar.jira.urlsonar.jira.login.secured and sonar.jira.password.secured properties.

titleSecurity note for Sonar SonarQube 3.4+

For the *.secured properties to be read during the project analysis, it is necessary to set the 'sonar.login' and 'sonar.password' properties to the credentials of a user that is:

  • System administrator
  • And project administrator on the project that is being analyzed
sonar-runner -Dsonar.login=admin -Dsonar.password=admin

To Display Data on the JIRA Issues Widget

  1. Log in to your JIRA instance and create a filter. Mark it as favorite. You can also share this filter with your team in order to allow usage of URL for issues in SonarSonarQubeTM.

  2. And finally specify the sonar.jira.url.param 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).

To Create JIRA Issues

Set the sonar.jira.project.key property that is the key of the JIRA project on which this Sonar SonarQubeTM plugin will generate tickets


titleConnecting 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 SonarSonarQubeTM.


  • Q: I see the following warning in Sonar SonarQubeTM logs when using the JIRA plugin:

    [WARN] [18:32:24.426] Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
  • A: This is a message from the Axis SOAP client we are using to talk to your JIRA. You can safely ignore this message. Attachment support is not used anyway.


  • Q: I have configured my JIRA instance so that some fields are mandatory. Because Sonar SonarQubeTM does not populate these fields then issue creation fails. How can I make it work?
  • A: The can property can be defined at project level. For other fields the suggested workaround is to create a new issue type in JIRA (for exemple "Quality issue") and set the property accordingly.

Change Log