Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Posting an Issue Comment through Rest API

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)

https://clb.sh/41c73a

Has anyone seen something similar?

 

Thanks in advance

 

1 answer

0 votes
Hana Kučerová Community Leader Jan 20, 2021

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?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

7,121 views 8 28
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you