My team is currently working on an API connection for our service desk. We are facing issues regarding having an attachment image come back with the API request to be uploaded as a comment. We have tried three options (outlined below) and these have not worked for us.
We are looking to hear from anyone who has encountered this issue with APIs and learn what your resolution was. Currently, our internal Forge team does not have a resolution to this so we are looking for ways to make this work, as the key part of the return API is having an image uploaded into the ticket as a comment.
Thank you for any suggestions!
Our Ideas and Attempts:
- Option A (Most common): Your API returns an image URL → embed that URL in the comment
- Option B: Your API returns the image as base64 (or bytes) → you must host or attach it first
- Option C: You want the image to be added to the comment in the API call itself (return API posts back to Jira)