Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×I'm trying to create a symbolic link using this command: mklink /J C:\path\to\symlink E:\path\to\file . But I'm getting an error as syntax incorrect.
Hi @prayuja,
Hope the following articles will help you
https://confluence.atlassian.com/jirakb/managing-attachments-in-jira-applications-300811049.html
Hi @prayuja
Syntax is:
mklink /J {new link} {target link}
/j for junction and /d for link
basically {new link} is the new link you are going to create, and {target link} is the link's target which is existing directory.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ollie Guan,
Thanks for your response. The document says to move jira home directory. But I want to move attachment folder only.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI @prayuja
Welcome to the community!
The default directory location is the subdirectorydata/attachments
of the JIRA home directory.
To be able to change the default path you need to create a symbolic link.
Please see the choose custom attachment path section in the below article.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI @prayuja
In Old Jira version, we can be able to changes the attachment from the admin section but now there is no way to change the default path from jira.
To change the path you need to use the Symbolic link as i have mentioned in an earlier comment but this can be done from the operating system, not in Jira.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think you need to run the command as reverse.
First run the command on Test instance then try it out on production.
mklink /J C:\path\to\symlink E:\path\to\file
Ex : mklink /j <Original_path> <target_path>
Please make a note..It will impact on Jira performance while reading a file/attachement.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try with "" for both link and check.
If you still facing same issue then restart your system and check. because it seems like some system issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.