How do you migrate the Jira attachment directory to a different location?

The filesystem that holds the all my Jira attachments is starting to fill up. I'd like to attach a new storage device and use that for attachments but I don't want to have to update every issue with the new location of its attachments. Is there an easy way to do this?

Example:

Existing Attachment Path: /opt/atlassian/jira443_home/data/attachments

Proposed Attachment Path: external_host.lab.foo.com:/export/VolGroup00-jira_attachments

2 answers

This widget could not be displayed.

Hi, I found this documentation about the attachments:

http://confluence.atlassian.com/display/JIRA/Configuring+File+Attachments#ConfiguringFileAttachments-Advancedconfigurations

It looks it isn't possible to change it. This note was below:

Choosing a custom Attachment Path

-If you upgraded JIRA with an XML backup from a JIRA version prior to 4.2 and used a custom directory for your attachment path, you can choose between using this custom directory (which cannot be edited) or the default directory for your attachment path location. However, once you switch to using the default directory, you can no longer choose the custom directory option.

-The default directory location is the data/attachments subdirectory of the JIRA Home Directory.

This widget could not be displayed.
Hi ,

Even if you have decided to use the standard attachment path you could mount your remote directory under /attachmentdata, copy all attachments there, remove standard directory data/attachments and create a symlink from data/attachments to /attachmentdata.

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 Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

146 views 2 0
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