i am trying to build an app where i am trying to transition the status of an issue and when user tries to change status if an issue i am displaying a popup which displays the fields like we have in transition screen and i am trying to add attachment to the issue but i am unable to add attachments
Hi @Ankit kharola
Could you please provide a bit more detail about how you're trying to add the attachment? For example, are you using the REST API, Forge, Connect, or some other method? Also, sharing any relevant code snippets or error messages would help in understanding the issue better.
Hello sir @Tuncay Senturk _Snapbytes_ i am working on forge
Hi
Do you see any error logs in the console or the Forge tunnel output?
What’s the exact behaviour you're observing — is uploadFilesToJira being called successfully?
uploadFilesToJira
Also, are you seeing a response from Jira’s /attachments API, or is it failing silently?
/attachments
You have to provide more information
By the way Atlassian developer community might be the better place to ask this sort of questions as you will find more answers there
hi @Tuncay Senturk _Snapbytes_ i am getting this error Error uploading files: FetchError: invalid json response body at https://jira/rest/api/3/issue/10361/attachments reason: Unexpected end of JSON input this is my resolverfunction
It looks like you're new here. Sign in or register to get started.