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!
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.