I'm not able to get Jira to accept the binary content of a file - it returns http 200 and [] - nothing else.
If I use base64Encode on the binary content, the file is stored as expected, but Jira doesn't do an automatic decode of this.
Since file is accepted with the encode I assume the multipart/form-data is correctly defined.
So there are two options here:
Any suggestion or link to similar issues with solution, is appreciated.
NB! I'm not running the Jira instance myself, just integrating to it from another tool where JavaScript is the way to customize.