Hi Everyone,
I am trying to upload an email (.msg Outlook-Format) as attachment via REST API (https://[myservicedesk].atlassian.net/rest/api/3/issue/[TICKETID]/attachments).
The Content-Type is "application/vnd.ms-outlook". I receive an error message "415 Unsupported data type".
If I upload the same file manually via the User Interface it works. If I receive this attachment via API it shows the content-type "application/vnd.ms-outlook" - so apparently it is supported by JIRA.
Thanks for your help,
Carl
Can you try to add these headers as key-value pairs on postman when uploading?
"Accept": "application/json"
"X-Atlassian-Token": "no-check"
Hi Prince,
thanks, but this didn't solve it. I already hat both headers in the request.
Best regards,
Carl
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If those exist, can you go to the body tab on postman under form-data, select key as a file, and value should be the file you want to upload?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.