Generating Jira Issue PDF Reports

This is the Jira PDF Report generator! Using this set of scripts by following the Requirements and Instructions below, you can generate professional reports given and Jira Query Language (JQL) search you can use for a given Jira server instance.

Notably, this report generator is not limited by the 1000 issue limit that comes with Jira’s export options.

Example, using the following query:

project = HD AND created >= "2024-05-13" AND created <= "2024-10-31" ORDER BY created ASC

example_report.png

Requirements

To use this PDF generator, you will need to have (1) Python code libraries which create the PDF (2) have an authentication key to access the Jira server you’re targetting and (3) images for the Jira badges that appear in the PDF (already included).

All resources are available for download in the Resources section at the bottom of the page.

  1. Download the Python scripts
  2. Install the Python code libraries (run pip install -r requirements.txt)
  3. API key from Jira for authentication
  4. Local PNG files in the ‘jira_imgs’ folder for the icons

Instructions

Once you’ve done the steps in the Requirements, you can run the report in the Command Prompt via Python:

python jira_pdf_reporter.py --jira-url https://<your studio Jira domain>.atlassian.net --username <your Jira username> --jql 'project = <project code> AND created >= -1d ORDER BY created ASC'

By default, the resulting PDF is titled jira_report.pdf, but the name can also be set using the --output option.

If you run the script with the following, it will explain all the available options and how you can use them: python jira_pdf_reporter.py -h

Issues