Setting the JIRA import folder - how to?

Dear All,

we would like to set a custom filder for Jira project imports and as well as for the to be imported attachments.

We restored a Jira from XML but the attachments cannot be opened: when we click on the attachment we get an error page:

"Cause:

Could not find the specified attachment on the server"

Can you please suggest?

Thanks in advance,

Rumi

2 answers

As far as I know you can't use custom import directory as the import directory is hardcoded to jira_home/import (take a look at com.atlassian.jira.config.util.AbstractJiraHome).

What you can do as a workaround is to make symbolic links of the files you want to import in jira_home/import.

0 votes

As Boris says, you can't - the locations are now fixed in place.

You can also use symbolic links for the whole directory, or mount storage directly into the area - to give you a rough idea, my main client at the moment has

  • /data/jira - the home directory for Jira on a standard disk, with
  • backup (export) - a remote mount on the backup server (we're doing database backups too, but the xml can be handy)
  • import - a symbolic link to another disk on the same server
  • attachments - a remote mount on a shared storage service
  • index - on the fastest nastiest hard disk we could fit in the storage (a jumped up SSD)

Your options on the remote mounts are dependent on your OS. All the above are a complete doddle on Unix like systems, but I understand Windows servers are way behind and can't reliably support most of the tricks.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

24,514 views 2 7
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