You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
We want to remove a project from Jira that is no longer active or needed. The project contains about 2000 issues, and many of the issues have attached files, typically, PPT, .DOC, .PDF). Is there a way to archive off the attachments along with creating an export of the issues? NOTE: we are NOT re-importing this into another Jira instance, so this is not a Backup and Restore issue.
There are 2 ways I can recommend using either REST API or using Java API with the help of ScriptRunner for Jira.
Attachments are stored within a specific folder with a number which corresponds to a file name. This information is stored in the database. So using a script you can translate those ids to actual file names and get their paths and write a script to dump them to a separate location.
I saw this post after making mine. https://community.atlassian.com/t5/Jira-questions/Need-to-export-all-attachments-from-a-single-Project-JIRA-Cloud/qaq-p/717930 I was planning to use the instructions here to pull them out and rename them. Do you believe this works as written?
Yes the examples on that page should work and if you are on server then you have more options because you have direct access to your files and database to translate the ids to file names (if needed).