Not really, you'd need to traverse through every single issue, look for their attachments and issue a download command.
It would probably be easier to simply go on to the Jira server and take a copy of the "attachments" directory under the Jira Home directory, as that's where Jira keeps them all.
Do you know the exact syntax?
I used two ways but no of them are working.
with Issue ID:
curl -D- -u myid:mypasswd -X GET http://LPVWA00A0xxx.wellsfargo.com:8081/secure/attachmentzip/21824.zip
with issue Key:
curl -D- -u myid:mypasswd -X GET http://LPVWA00A0xxx.wellsfargo.com:8081/secure/attachmentzip/BR-69.zip
There is a plugin on Atlassian Marketplace named <a href="https://marketplace.atlassian.com/plugins/pl.craftware.jira.download-attachments-plugin">Download Attachments 4 Jira </a>allows you to download all attachments for JQL query result. I think it'll work fine for your case.
My entry to Atlassian Codegeist 2015 Automate the Atlassian from Command Line has a function that helps you to do just that. Also not only Admins can use this, but even users can use this to download attachments for given JQL.
-- Demo Query against live instance -- Automate JIRA attachments download action > acl --app-name JIRA --browser-name PhantomJS --action get_jira_attachments --userid admin --password 'pongbot' --base-url https://pongbot.atlassian.net --jql 'key=TEST-1'
It's a open source plugin. Hoping you will find it useful. Do vote if you see value to it!
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs