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

Suggest an answer

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

Atlassian Community Events