public class AttachmentZipFileCreator extends Object
| Constructor and Description |
|---|
AttachmentZipFileCreator(BulkAttachmentOperations bulkAttachmentOperations,
AttachmentManager attachmentManager) |
| Modifier and Type | Method and Description |
|---|---|
File |
toZipFile(Issue issue)
This will return a ZIP file that contains all the attachments of an issue.
|
public AttachmentZipFileCreator(BulkAttachmentOperations bulkAttachmentOperations, AttachmentManager attachmentManager)
public File toZipFile(Issue issue) throws IOException
you should delete the file when you are done, otherwise, well this is JIRA not Bamboo!
IOException - if stuff goes wrongCopyright © 2002-2021 Atlassian. All Rights Reserved.