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 vote

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,226 views 14 19
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot