Forums

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

How to download file attachments from Forms via REST API?

pablo medicina
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 24, 2025

The endpoint GET /jira/forms/cloud/{cloudId}/issue/{issueKey}/form/{formId}/attachment returns only metadata (fileId, fileName, fileSize, mimeType), but there is no documented endpoint to download the actual binary file.

I have reviewed the official documentation:
- https://developer.atlassian.com/cloud/forms/rest/api-group-forms-on-issue/
- https://developer.atlassian.com/cloud/forms/rest/intro/

Questions:
1. What is the correct API endpoint to download form attachments using the fileId?
2. Is this functionality available via REST API?
3. If not documented, what is the recommended approach?

Thank you!

1 answer

0 votes
Sebastian Krzewiński
Community Champion
November 25, 2025

Hi @pablo medicina 

 

Based on this doc ( https://docs.atlassian.com/software/jira/docs/api/REST/1000.824.0/#api/2/attachment-getAttachment) and description: 

The representation does not contain the attachment itself, but contains a URI that can be used to download the actual attached file.

you will be able to get attachment url and then you can use wget to download it. Example here (https://support.atlassian.com/jira/kb/how-to-download-attachments-using-rest-api-and-sso/). I know, this is for DC but it should hint you.

 

Regards,

Seba

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events