Jira attachments

Hi there,

As far as i understand, attachment from issue are stored in a directory on the server by default and in the Issue ID directory.

This attachment is in fact an ID instead of the 'real' attachment (example.doc).

First question :

If my word attachment for example sizes 1Mo, is my attachment ID sizes 1 Mo or less ( Jira is reduceing the size ?)

2nd question :

If i decided to obtain more space on the server, can i backup all attachment from a specific project and in case of, i restore them directly ( do i need to do additionnal steps?)

Last question :

I want to copy all my attchments from a project in another server, as those file are ID and not real attchment, is it possible?

Thanks in advance for your help.

Regards

1 answer

This widget could not be displayed.

Hello Manu,

as per my knowledge, all the attachments are stored into a specific folder (dafault location is JIRA-HOME/data/attachments).

For each jira project you will have a specific root folder named with project key. Within this folder you will find many subfolders with the issue key that specified the related issue that contains attachments.

Each attachment is stored as binary so you can't open directly from file system.

You can backup all the attchments or for specifc project just as a simple folder (zip, tar and so on). Moreover, you can restore the attachments into another server but, you need to link also a db dump otherwise the related attachments can not be opened. Jira stores attachment ID, attchment type and so on into DB so that you can't manage them withoud a consistence DB associated.

Hope this helps,

Fabio

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

573 views 25 15
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you