To send an attachment there is two options, Multipart form data - this is what most systems use to work with attachments. Second option is Body this is where the remote system requires the content of the attachment to be included in the body.
For JSM comment see this tutorialSend only public comments from Jira Service Management
Body data
Use this method to send the content of the attachment as base64encoded in the body of the request.
...
Info |
---|
Usage note!Use this only in the case were attachment is needed, since the payload is different than regular application/json types. |
Info |
---|
Download sample configuration for attaching a file to a ticket from an incoming rule here and import it. |
iHub can send attachments to external endpoints. This is done. by sendingĀ Content-Type: multipart/form-data.
...