Attaching images to an issue in YouTrack, using the REST API, the files show up as normal attachments. I cannot view them hovering the item by mouse, instead I always have to download the files to have them displayed (which is annoying).
When I upload an image manually in the web UI, the image is displayed right away. What am I doing wrong, or rather how does YouTrack decide how to provide attachments to the user in web UI?
I'm using Apache's MultipartEntityBuilder
to create the MIME body of the REST request, setting the ContentType to ContentType.APPLICATION_OCTET_STREAM
. Should I set it to some sort of image MIME type when uploading?