This document covers how to export Jira tickets to PDF from the on-premise version of Jira. For the cloud version of Jira, you can write a script to download Word versions of each issue (e.g., https://krakencommerce.atlassian.net/si/jira.issueviews:issue-word/DMC-95/DMC-95.doc
) and you don't need this approach.
- Prepare a text file containing all urls of the Jira issues you want to export. For example:
https://krakencommerce.atlassian.net/browse/DMC-1
https://krakencommerce.atlassian.net/browse/DMC-2
…
https://krakencommerce.atlassian.net/browse/DMC-95
- Login to Jira in Google Chrome
- In Google Chrome, select
View > Developer > Allow JavaScript from Apple Events
- Open a single Jira issue in Chrome, click
File > Print…
, selectSave as PDF
and then clickSave
. This will set PDF as the default print output, which is necessary for the automation to work. - Open the Automator app.
- Create a new Workflow and the select
Run AppleScript
- Paste the contents of the
download_jira_issues.scpt
file below into the app. - Click the Run icon
- Select the text file you selected in step one
- Leave your computer running for as long as it takes to print all issues to PDF