I am using JIRA API to create issue, mostly it return status code 201 and body responses with jira key, etc. But sometimes I didn't get any return (no body) and no error, so I guess, I got status code 200 with no body response. What is the possible reason for this?
Hi,
Welcome to the community.
When you get a 200 response, is the ticket created ?
If no you may run this issue :
Hopefully this will save time to anyone that runs into this. I was trying to do a "POST" to the Add Comment API. I was using http instead of https. So in Postman, I would submit, and it would redirect the request from http to https. When it did the redirect from http to https, it changed the request to a "GET" rather than a "POST". This is why I was getting a "200", because I was getting a "200" on the GET request, which would return the comments for that issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.