Hi,
I'm trying to add an attachment to an issue using the 2.0 API: /rest/api/2/issue/PMOSD-3637/attachments
following this question https://community.atlassian.com/t5/Jira-Software-questions/Add-Attachments-with-REST-API/qaq-p/1583351
I should be able to just call this link with the no-check header and the file in the form-data however i keep getting a 400 bad request.
Header:
//Content-Disposition:multipart/form-data
//name:file
//filename:attachment5.jpg
X-Atlassian-Token:no-check
//Content-Type:multipart/form-data
//Accept:application/json
Attachment: