Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to change the attachment path?

I have read that it's not possible but is there any config-file or something where it is possible in Version 8.3.0? 

The attachments should be stored on a network drive, because there are some very big ones in the system. 

Symbolic links are not the right solution for us because the data is still on our server in the home directory.

 

Thank you in advance for your help.

 

Regards,

Stefan 

1 answer

1 accepted

1 vote
Answer accepted

Hi Stefan

A symlink is the only possibility following the Attachment documentation; In Jira 8 there is no other way change the path: https://confluence.atlassian.com/adminjiraserver/configuring-file-attachments-938847851.html

Here is Atlassian KB articlefor creating a symbolic link: https://confluence.atlassian.com/jirakb/change-the-attachments-directory-location-for-jira-server-237569020.html

Symlinks are your best bet.

Best regards
Niklas

Regarding

Symbolic links are not the right solution for us because the data is still on our server in the home directory.

If you set up the symlinks correct the data is only displayed where the symlink is, but the data is actually saved at the remote directory. It still saves you storage on the Jira server.

Hi @Niklas _bitvoodoo_ ,

 

thank you for your answer.

Do you know how I have to set up the symlink? 

I tested it with the following: mklink /J Link Target

The Link-folder seems to have the same size as the Taget-folder.

 

Thank you

Stefan

Hi Stefan

Maybe it is displaying the properties of the remote folder, I am not entirely sure?

mklink doesn't sync directories but sets up a symbolic link. For applications this symlink seems like a file or directory but it only links to the target. The data is not being duplicated. 

Here is Microsofts documentation: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/mklink

Under "Feedback" you find some more resources.

Regards
Niklas

I did a test with moving Jira attachments folder to a network location using Windows  symlinks.
I weren't able to link just an attachment folder, only the whole JIRA_HOME directory (otherwise Jira didn't start).

After linking %JIRA_HOME% this Jira instance became unstable - network latency and etc sometimes collapsed it and I had to repair and restart it manually.


May be some one had a better experience? Can you share it?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Software

👋 Looking for 15-20 volunteers to test Atlassian training content

Hi everyone! Are you interested in beta testing Atlassian University’s newest (unreleased!) training course? We’re looking for 15-20 volunteers to test our newest training course, Basic reporting...

858 views 25 28
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you