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

question on importing attachments from jira server instance to a jira cloud instance

I'm in the process of importing issues from a jira 7.1.7 server instance to a jira cloud instance and have a question about attachments.

I understand that I need to supply in the csv the url of where the image is, but:

1) Since my server is a mix of pre-7.0 and post 7.0 and the attachment directory structure changed in 7.0, how can I know where the attachments are for a given issue? 

2) My xml that's exported from jira server only contains the attachment filename, no path, anyway to get the path into the xml? without it I don't see how to know for sure where the attachment is located, even if i go through the work of calculating the bucket# of the 7.0 format since I can't know from the xml info what is a pre 7.0 or post 7.0 attachment.




1 answer

2 votes

Hey Jay,

As a head-ups up, our recommendation is to upgrade to 7.13.1 or higher before migrating, migrating 7.1.7 may work, but this version is no longer guaranteed to work without requiring an upgrade, especially that you have mentioned that your server is a mix of pre-7.0 and post 7.0.

Regarding the attachments, these should be stored in your Jira application’s data directory, which is a sub-directory of the Jira application home directory

If JIRA was installed using the automated Windows or Linux installers, the default location of the JIRA home directory is: 

  • C:\Program Files\Atlassian\Application Data\JIRA (on Windows) or
  • /var/atlassian/applicaion-data/jira (on Linux)

If you install JIRA from an archive file, the JIRA home directory can be any suitable location that is accessible by your JIRA installation. Typical example locations might be:

  • C:\jira\home (on Windows) or
  • /var/jira-home (on Linux or Solaris)

I recommend having a look at our Jira application home directory documentation for the complete details.

Further, in order to successfully import these attachments into the cloud, you'll need to create a ZIP archive of the /data/attachments, /data/avatars/, and /logos/ directories. Make sure it uses the following structure:
└─── data
├── attachments
│ ├── ProjectKey1
│ │ └── 10000
│ │ ├── IssueKey-1
│ │ ├── IssueKey-2
│ │ └── IssueKey-3
│ ├── ProjectKey2
│ └── ProjectKey3
└── avatars
└── logos

Reference documentation:

Let me know if this helps and if you have successfully located the attachments folder on your server.



Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

Send an Email or Publish to Confluence - What should you do with your release notes?

Background When you hear the words ‘Release notes’, almost always you think of an unsolicited email from a software vendor. But I am here to tell you that from our data, sending release notes via E...

52 views 0 1
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