How to download a SonarQube PDF report from Jira: Step-by-step guide

Learn how to generate and download SonarQube PDF reports directly from Jira using the SonarQube Connector for Jira app, without switching tools.

This tutorial covers the prerequisites, the steps to export a report, and how to customize its logo.

VIEW THE STEP-BY-STEP GUIDE

Published by excentia |

This tutorial was prepared by the team at excentia, developer of SonarQube Connector for Jira, drawing on its experience integrating SonarQube with Jira.

How do you download a PDF report from Jira?

Open the Jira project linked to SonarQube, go to the SonarQube Connector for Jira, select a report view, and click Download PDF. The connector generates a PDF containing the information from the selected view.

What This Guide Covers

Prerequisites

Before downloading a SonarQube PDF report from Jira, make sure you meet these requirements:

1 - Check that SonarQube Connector for Jira is installed

The app must be installed on your Jira Cloud instance. Follow these steps to install it:

  • Sign in to your Jira instance as an administrator.
  • Go to administration and then Marketplace apps.
  • Click Find new apps (Explore apps).
  • Search for "SonarQube Connector for Jira" and select the app.
  • Choose Try free or Buy now and select the instance where you want to install the app.
  • You can also install the app directly from the Atlassian Marketplace.

2 - Configure the SonarQube Connection

Next, configure the connection to SonarQube Server or SonarQube Cloud and the corresponding credentials. Follow these steps to configure the connection:

  • Open your Jira instance, go to Settings, and select Marketplace apps.
  • In Jira’s left sidebar, find Global Configuration under SonarQube Connector for Jira in the app list. The screenshot below shows where to find it. SonarQube Connector for Jira global configuration in Jira
  • On the page that opens, enter your SonarQube Server URL or SonarQube Cloud credentials. Configure the SonarQube Server or Cloud connection to Jira
  • Enter your access token (personal access token) from SonarQube to authenticate the connection.

3 - Link your projects

The Jira space where you want to use SonarQube Connector for Jira must be linked to at least one SonarQube project to display its data. Follow these steps to set up the link.

  • In Jira’s left sidebar, open the space where you want SonarQube Connector for Jira data to appear. Access Jira space settings
  • In the settings page, select Apps in the left sidebar, then click SonarQube. Configure SonarQube Connector for Jira from space settings
  • In the Connection settings section, you can use the SonarQube instance from the global configuration or configure a different instance by selecting or clearing "Check this option if you want to override global connection configuration". SonarQube connection settings for a Jira space
  • In the Project Settings, enter the key of the SonarQube project whose data you want to display. Then click Save.
  • Once configuration is complete, open the SonarQube tab in your Jira space to view data from the linked project. SonarQube tab in a Jira space

How to generate and download a PDF report step by step

Follow these steps in your Jira space to download SonarQube reports.

1. Open your Jira project

Open the SonarQube tab in your Jira project.

2. Open the SonarQube connector panel

From this tab, you can download an Overview report containing your project’s main code quality metrics. To generate the PDF, click Download.

Button to download a SonarQube PDF report from Jira

3. Download security-specific reports

To download security-specific PDF reports, scroll down in the SonarQube tab to the Security Reports section.

Example PDF report from SonarQube Connector for Jira

The following security reports are available to download as PDFs:

  • CWE Top 25: a security report that identifies the most dangerous software weaknesses in the code, based on the CWE Top 25 list. It helps detect and prioritize issues that could compromise application security.
  • OWASP Top 10: a report for analyzing project vulnerabilities related to the ten most critical web application security risks identified by OWASP.
  • OWASP ASVS: a security assessment report based on the OWASP Application Security Verification Standard (ASVS), helping teams review application security requirements and controls.
  • ISO 5055: a code quality and security report based on ISO/IEC 5055, used to assess software weaknesses related to security, reliability, performance, and maintainability.

4. Review the downloaded report

Open the PDF to review the data and share it with anyone who needs to assess the project’s quality or security status.

Example Overview PDF report generated from Jira with SonarQube Connector for Jira
Example PDF report generated with SonarQube Connector for Jira.

How to customize the logo in PDF reports

SonarQube Connector for Jira also lets you configure the company logo displayed in the footer of reports. You can apply this setting globally to reports from all projects or configure it separately for each space.

1 - Global Configuration for All Reports

  • In Jira, go to settings and select Marketplace Apps.
  • In the left sidebar, select SonarQube Connector for Jira global configuration.
  • Scroll down to PDF report sSettings at the bottom of the page and enter the URL of the logo you want to display in report footers. PDF report footer settings in SonarQube Connector for Jira

2 - Configure the report logo for a specific space

  • In the left sidebar, click the three-dot menu for the space you want to configure and select Project settings.
  • In the left sidebar, select Apps and then SonarQube.
  • On the PDF tab, select Override Global PDF Config and enter the URL of the logo image you want to display in report footers for that space. Space-specific PDF footer settings in SonarQube Connector for Jira

Administrator permissions may be required to change these settings.

Frequently Asked Questions

Can I download a SonarQube PDF report without leaving Jira?

Yes. Once the connector is installed and configured, you can generate the PDF directly from its panel in your Jira project.

What types of reports can I download?

The connector provides views such as Overview, OWASP Top 10, CWE Top 25, ISO 5055, and OWASP ASVS. The available data depends on the integration.

Can I link multiple SonarQube projects to one Jira project?

Yes. You can link multiple SonarQube projects to the same Jira project.

Can I include my company logo?

Yes. You can configure it under PDF Report Settings, either globally or for individual projects.

Where Can I install SonarQube Connector for Jira?

The app is available on Atlassian Marketplace.

More Resources on SonarQube Connector for Jira

Watch the video tutorial or explore the app on the Atlassian Marketplace.

Watch Video Tutorial View App on Marketplace

Need help? Contact excentia.

Recibe las últimas novedades sobre nuestros productos y servicios directamente en tu bandeja de entrada