Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira REST API create issue return 200 with no result intermittently

Catherine October 4, 2021

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?

2 answers

1 vote
Mohamed Benziane
Community Champion
October 5, 2021

Hi,

Welcome to the community.

When you get a 200 response, is the ticket created ?

If no you may run this issue :

https://jira.atlassian.com/browse/JRACLOUD-41559

0 votes
Mark Ahnell
Contributor
September 3, 2024

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. 

Suggest an answer

Log in or Sign up to answer