Hello,
I was able to add attachment using Postman but when trying to do the same through JIRA Rest API using Node Js request, it does not seem to be working.
I get a status code of 200 but its gives me an empty response and upon checking the JIRA ticket, I couldn't find the attachment.
Below is a screenshot of the code
Here is a screenshot of the console. As you can see I have the file and also the correct headers. It does give me a status code of 200 but as said earlier, the response is empty and there is no attachment added to the ticket.
It's been like 3 days now and I have tried multiple approaches but nothing is working. Any help is appreciated. Thanks!