Rest API Post Issue Attachments

I have reviewed the Add Attachment documentation below. Is it possible to post an attachment into a custom field or into a comment field? I know when we are updating Jira issues, we can paste in attachments anywhere - we’re hoping for the same functionality via the API. Or will the attachment just be listed in the Attachments section and not anywhere else?

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-attachments/#api-rest-api-3-issue-issueidorkey-attachments-post

Nope. Attachments are attached to issues. What goes into the comment or custom field is the reference to that attachment.

1 Like