I'm currently working on replicating JIRA's functionality in Salesforce where users can comment and attach files. In JIRA, when attaching a file to a comment, the file must first be uploaded. I'm wondering if the same workflow is achievable when using the JIRA REST API in Salesforce.
Thus far, my research has led me to separate API calls for adding comments and attaching files, but I haven't found a method that combines both actions into a single operation. Can anyone provide insight or direct me to a resource that could assist with implementing this feature? What document format should be used to create comments with attachments?