We need to export or download attachments from a JIRA record for our automation product.
Is there a way to export directly form the JIRA server or a URL option?
We use Jenkins Automation build and want to be able to export our PDF's from JIRA.
Do we have to use command line plugin or is there an easier way to do it from a DOS prompt or Jenkins?
I saw the option to get the attachments from the JIRA_HOME but we need the same file name and do not want scripting work
Well, if you know the attachment ID, you can get its download URL using the
call from the JIRA REST API.
See here for more details: https://docs.atlassian.com/jira/REST/latest/#d2e168
Use the JIRA PDF View Plugin!
Check the HTML code of the page. It is there. Even better, the download URL is there, as far as I see.
<li class="attachment-content" draggable="true" data-downloadurl="image/png:padding.png:https://jira.atlassian.com/secure/attachment/66083/padding.png">
Or simply use JJUPIN:
getAttachmentPath(key, attname) - http://confluence.kepler-rominfo.com/display/SIL/getAttachmentPath
attachments variable is predefined on the issue.
You will spare a lot of time :)
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Heya, Hipchat friends! We’re so happy you’re checking out Stride. Whether you know it or not, you have been instrumental in making Stride come to life. Every feature, design, and functionality...
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