How to export multiple attachments from an issue using JCLI

This article explains which commands can be used to download multiple attachments from a Jira issue using the Jira Command Line Interface (JCLI) app. 

Instructions

Combine the runFromAttachmentList and getAttachment actions to download multiple attachments from a Jira issue as shown:

--action runFromAttachmentList  --issue "SUPP-1" --common "-a getAttachment --issue "@issue@" --file "@attachment@"" 

All attachments from the specified issue are exported and stored in the specified folder after command execution.

  • It is recommended to test this scenario in a non-production environment.
  • You can also run the command with the --simulate parameter to verify behavior before deploying it on a production environment.


Find answers from the community.

Ask a question to the community.

Log a request with our support team.


Confluence®, Jira®, Atlassian Bamboo®, Bitbucket®, Fisheye®, and Atlassian Crucible® are registered trademarks of Atlassian®
Copyright © 2005 - 2022 Appfire | All rights reserved. Appfire™, the 'Apps for makers™' slogan and Bob Swift Atlassian Apps™ are all trademarks of Appfire Technologies, LLC.