I am attempting to import a project with its attachments using Project Import.
The attachments are located under /var/atlassian/application-data/jira/import/attachments.
Below is a collection of screenshots navigating through the attachments folder:
Is there a reason why the attachments are not importing with the Issues? The project imports with no errors.
Did you specify the path in the Project Import screen? Also does JIRA have enough permissions to read from source and write to the destination. Recently we migrated 270,000 issues between 2 JIRA servers and attachments (a lot) were all imported successfully.
When I select the backup file Jira says, "Backup attachments will be loaded from: /var/atlassian/application-data/jira/import/attachments". It only gives me the option to select the file name for the project data.
I changed the permission to the attachment folder to jira:jira (see below), it was root:root, but the attachments still do not load. Is it possible that the files are not loaded properly in the folder?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks! I changed some permissions around and was able to get it to work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Karrie Dash - Could you please elaborate which permissions did you change and to what. We're facing the same issue. Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think I had to change the root user's permissions to allow it to write files.
I found a file with a list of commands that I used throughout the process. I think one of these is what I used at some point in the process.
sudo chown -R ubuntu /var/atlassian/application-data/jira/
sudo chown -R jira:root /var/atlassian/application-data/jira/
cd /var/atlassian/application-data/jira/import
sudo ls -la /var/atlassian/application-data/jira/import
sudo mv karrie.zip /var/atlassian/application-data/jira/import
After I did that, here is a list of the other commands that I ran at some point in the process
sudo chown -R ubuntu (filename)
sudo mv karrie.zip /var/atlassian/application-data/jira/import
--------
cd /var/atlassian/application-data/jira
sudo cp data/attachments ~/ -r
sudo chown -R ubuntu ~/attachments
---
sudo cp -Rf attachments/* import/attachments
(copies the files from export to import)
sudo cp import/attachments ~/ -r
sudo chown -R ubuntu ~/attachments
-----
rm filename
rm -r foldername
-----
sudo chown -R ubuntu jira/import
sudo chown -R jira:jira jira/import
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.