Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

trying to add attachment from one issue to another via rest api

Ankit kharola June 23, 2025

Hi , i am working on a forge app where i have to clone some issues i was trying to just copy the attachments array of the issue i am trying to clone to the new issue that i am creating. do we have to download the attachment content if i want the same attachment in the new issue? 

1 answer

1 accepted

2 votes
Answer accepted
Gor Greyan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 23, 2025

Hi @Ankit kharola

Yes, you need to download and re-upload the attachment content when cloning issues in a Forge app.

In Jira, the attachments array contains metadata (Filename, MIME type, URL to download the file), but not the file content itself. So simply referencing the same attachment in a new issue won't work - Jira won't display them in the new issue.

Ankit kharola June 23, 2025

@Gor Greyan  Thank you 

Like Gor Greyan likes this
Gor Greyan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 23, 2025

@Ankit kharola

Always glad to help.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events