Hi,
I'm trying to add a file via API to an issue. I'm using Microsoft Flow to make my calls and there is no dedicated 'file' value like there is in Postman so everything has to be put into the headers and body. Also the file that I'm uploading does not exist online rather I need to create the file with the file content.
For example here is a call I have tried from Postman:
This results in the following 500 server error:
<message>org.apache.commons.fileupload.FileUploadException: Stream ended unexpectedly</message>
This is how the same call looks in MS Flow:
Please advise
Thanks,
Sam
Hi @[deleted] ,
I believe I have already answered you in: https://community.atlassian.com/t5/Jira-questions/Attachment-not-created/qaq-p/1047753
However, looking at the POSTMAN screenshot, I can see that indeed you are not passing the file. See below screenshot for details:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.