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.