The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How can I add an attachment to an issue through the REST API using its path?

AGEN RPA TSYS
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!
August 9, 2023

I've tried to add to the body a form-data parameter with "file" as the key and the path of my attachment as the value. But the API return no content and didn't attach it to the issue. If I put the file itself instead, it works just fine, but I need to use only the path.

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM Trial
TAGS
AUG Leaders

Atlassian Community Events