Skip to main content

Small program for exporting issues from Jira to pdf or html

Reason this release was yanked:

incorrect setup

Project description

LinkedIn

Jira export

Small program for exporting issues from Jira to pdf or html.

Prerequisites

wkhtmltopdf - https://wkhtmltopdf.org/ #Required to export issues to pdf. Without that you can still export issues to html.

pandoc - https://pandoc.org/ #Required to run the program

JIRA API key - https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/

(back to top)

Usage

On the first run program will create settings.ini file where you can input all JIRA credentials (url, username, api token) and project you want to export.

settings.ini:

[JIRA_ACCESS]
jira_base_url = https://your_jira_instance/  #Here you should put url from your JIRA
jira_username = your_jira@username  #JIRA username
jira_api_token = your_jira_api_token #Jira API token -> look into https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/ on how to obtain API token.

[EXPORT_OPTIONS]
export_path = EXPORT/ #Folder to export files. Relative to path executing program.
save_to_html = True #Exports html files from JIRA issues
save_to_pdf = True #Exports pdf files from JIRA issue

[ISSUE_FILTER]
jira_project = TEST #Jira project from all issues will be imported

After correctly setting up your data, run program and it will export issues into provided folder (EXPORT as default).

Depending on the options selected program will:

  • Always download all attachments from issues with filename changed to 'Issue-number'-'filename'
  • If save_to_html=True will generate html file for each issue with filename being 'Issue-number'
  • If save_to_pdf=True will generate pdf file for each issue with filename being 'Issue-number'

(back to top)

Issue format

For both html and pdf all issues are imported with following format

  • {Issue_Number}
  • {Issue_Name}
  • {Issue_Description}
  • {Comments}
    • {Comment_date}
    • {Comment_author}
    • {Comment_body}
  • {Attachments}
    • Links to attachments locally downloaded.

html example of exported issue:

image

pdf example of exported issue:

image

(back to top)

Limitations

Please be aware that some JIRA Api limitations may occur https://developer.atlassian.com/server/hipchat/hipchat-rest-api-rate-limits/

(back to top)

Roadmap

  • Download attachments
  • Export issues to html
  • Export issues to pdf
  • Add linked issues
  • Add more flexibility into settings(image size, fields to be shown in exported issue)
  • Folder Tree download (for example Epic -> User story -> Task)
  • GUI/ Dynamic Exported issue format creator with custom fields

(back to top)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jira_export-0.0.2.tar.gz (11.1 kB view details)

Uploaded Source

File details

Details for the file jira_export-0.0.2.tar.gz.

File metadata

  • Download URL: jira_export-0.0.2.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for jira_export-0.0.2.tar.gz
Algorithm Hash digest
SHA256 d832fb8ce158cbe959e08eea3bb2ee7359f3aad6586975ca84ae5bb7de576428
MD5 1e992a31269cf3c2bfb799313825f9ff
BLAKE2b-256 2eaf812dc055b27a6c09abdfa063da356e4ea3ad3fa63ec10485e82f99fd2c52

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page