Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,682
Community Members
 
Community Events
176
Community Groups

How to archive off attachments to Jira issues along with exporting the issues

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. 

1 answer

1 accepted

2 votes
Answer accepted

Hi @kdickason 

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.

Ravi

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?

Note that we are using Jira Server (and these instructions indicate Cloud).  Would that impact how these are 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).

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events