We need to be able to add attachments to issues through the REST API and I can't get this to work in the new API.
I've tried including an attachment when creating a new issue and when updating an issue and in both cases I don't get an error, but the attachment isn't added.
On the update, the body is set to:
I tried this with the $type field set to jetbrains.charisma.persistent.issue.IssueAttachment, but that didn't make any difference.
I see that comments can be maintained since there is an endpoint for them, so maybe attachments need something similar.