The standard way to copy an attachment in Jira is to make a physical copy. I mean, download it and upload again.
I analyzed the REST API and tried to make a copy of an attachment without creating a duplicate file, but it seems it is not possible, is it?
Interesting, I gave it a try. One thing I noticed is that the "import issues from CSV" option visible in Issue Navigator seems to be broken ( I could not map Attachment field), therefore I used System -> External System Import -> CSV option.
After import I can see a new issue with Attachments, however it is broken
There is the same file visible, but I can't open it, even after downloading. How did you do it? There are also 2 additional boxes displayed, don't know why ;)
I didn't understand the part about changing the link to point to my tenant. I want to make a copy on the same instance, hmm
To accomplish this, I had to closely follow the resolution in this article:
Essentially, generate an API token and update the CSV with it as documented. I guess it has something to do with the importer process having access to the attachments.
Hope that helps.
Recommended Learning For You
Level up your skills with Atlassian learning
Learning Path
Jira Administrator
Configure Jira Software, Jira Core, or Jira Service Management, including global settings, permissions, and schemes.
Managing Jira Projects Cloud
Learn to create and configure company-managed projects in Jira Software and partner effectively with Jira Admins.
Learning Path
Become an effective Jira Software Project Admin
This learning path is designed for team leaders who configure Jira Software projects to match a team's processes.