Attach Files to an Issue as base64Content

It is possible to add to API an optional way to send attachments as a base64Content in the body? 

URL: https:

Request body:
    "name": "file_name.txt",
    "base64Content": "data:base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38"

I can't use -F upload because the HTTP request implementation that I must use doesn't implement it.

1 comment
Official comment

Hi Tomasz,

thank you for your question.

At the moment, it's not possible to add attachments via REST API using base64Content. The only way to add attachments currently is described in this tutorial: However, please note that the described method also implies using the -F option with curl.

We also have a feature request to add the option for using base64 for uploading attachments, but it's still in our backlog. Please feel free to vote, comment, and subscribe:

Let us know if you have any questions, we'll be happy to answer.

Please sign in to leave a comment.