Skip to content

[Jira]: Add alternative method to download all attachments zip file#1623

Draft
jerubball wants to merge 1 commit intoatlassian-api:masterfrom
jerubball:jira-attachment-new-method
Draft

[Jira]: Add alternative method to download all attachments zip file#1623
jerubball wants to merge 1 commit intoatlassian-api:masterfrom
jerubball:jira-attachment-new-method

Conversation

@jerubball
Copy link
Contributor

@jerubball jerubball commented Mar 13, 2026

When using existing method: jira.download_issue_attachments() to get all attachments in zip file, the file is compressed from Jira server side first. The download may fail if total attachment size in a issue is too large. (Depends on Jira server, but typically > 1GB.)

This PR adds new method jira.get_all_attachment_contents() which downloads individual files, and use python's zipfile built-in library to create zip file from client side.

Docs file is updated accordingly, and passes black and mypy checks.

@jerubball jerubball marked this pull request as draft March 14, 2026 04:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant