Im trying to post a comment issue through the JIRA Rest API v2 which was working fine before, but now it's not adding the comments anymore. However, I noticed I'm receiving now a `200 Response Code` which doesn't appear as a valid option in the documentation.
This is how I am trying to post the comment:
POST mydomain.atlassian.net/rest/api/2/issue/PLAYG-704/comment
and this is what Im getting https://clb.sh/552fd0
After doing tests on another ticket which had comments, it seems to me that it's behaving like if I am sending a GET request (which returns 200) instead of POST (which returns 201)
Has anyone seen something similar?
Thanks in advance
@edgar.polancogomez , did you ever fix this issue? Im getting the same thing, response code 200, and it just returns:
Hopefully this will save time to anyone that runs into this. 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.
Hi @edgar.polancogomez ,
I've just tested it and it works for me. It is really strange you're getting code 200.
Have you tried to use API v3 instead of v2?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.