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
Improve user experience across Jira with global settings
Learn how to set up and configure a Jira site, manage Jira permissions, and configure Jira apps and integrations.
Learning Path
Streamline projects across Jira with shared configurations
Build Jira work items with reusable configurations called schemes, and reduce administrative work with automation.
Learning Path
Become an effective Jira software project admin
Set up software projects and configure tools and agile boards to meet your team's needs.