We are migrating some projects from JIRA cloud to an older (7.3.6) on-prem server instance. We originally created a backup file from cloud and tried to import projects from it into server, but had all sorts of incompatibility problems. We determined just importing the issues via external system import / CSV would be fine.
After importing the issues from CSV, next task is to get the attachments. I found the attachments in the original backup zip and copied them to the attachments dir on the server. However, even though the file names and paths are correct (files are named by attachment ID), they will not load because they are not actually images (png) but are html snippets (of what looks the jira cloud login). I figured this was due to the backup being possibly created for "cloud" and not server, so we created a new backup, ensuing "for server" option was used.
This time the attachment files are actual image data - but the names are all wrong.. the files do not correspond to the attachment IDs, thus won't load.
Any advice on how to proceed with restoring attachments?
Thanks