I’m trying to upload an attachment to a specific issue in my Custom UI app.
I’m using this endpoint in the Jira API.
I tried to upload it using resolve from @forge/bridge, but it doesn’t work. I saw here in the forum that someone suggested using the requestJira option. This option works fine for text files, but when I try to upload an image/pdf/etc, the file is uploaded but it’s corrupted. When I download the attachment and compare it with the original file that I uploaded, I can see that something is wrong with its encoding.
Thank you for reaching out!
We understood the issue and unfortunately we don’t have a solution to this at the moment and will be looking into it soon.
For Qn 2 : using resolver will not help here as they will be same underneath