You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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.