Ive recently migrated from Jira Server to Jira Cloud.
Ive been able to restore my data and it shows up in the cloud but when i import my attachments, the link inside the the issues does not work.
Yeah. We stumbled on to this bug recently with a client.
There was a change to the attachment directory structure in a recent version of Jira. Not sure where this change was made. The old format was as follows:
attachments/KEY/KEY-1234
When you access an issue that has an attachment, Jira changes the directory structure as follows:
attachments/KEY/10000/KEY-1234
Just write a little script to add the 10000 directory and move the attachment directories in to the 10000 directory.
Do you have any instructions on how to write that script. im still new to the system.
Do you have any documentation
If you only have a few Jira Projects, just move the attachments around manually. All you need to do is create the 10000 directory inside the attachments/KEY directory, then move all directories that are already in the KEY directory in to the 10000 directory.
To further clarify, when you create a Project in Jira, you assign it a key. Each issue number is a combination of the key and a sequential number that increments as each new issue is created. For example, if you have a Project that has a key JRA, your directory structure will look like this:
attachments/JRA/JRA-123attachments/JRA/JRA-124
You need to create
attachments/JRA/10000
and move the subdirectories in to the 10000 directory
attachments/JRA/10000/JRA-123attachments/JRA/10000/JRA-124
Are you talking about the server part or the cloud.
Sorry if im asking but i have no idea what you are talking about.
You can't do that on Cloud, Dave is talking about the server side.
It looks like you're new here. Sign in or register to get started.