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

REST API -How to update COMMENT for an existing issue

sanjay August 19, 2019

I used below rest api code to update COMMENT  for an existing Jira issue

{ "body":"test"     

Error message :      Expected a ':' after a key at 620 [character 4 line 29

1 answer

1 accepted

1 vote
Answer accepted
DPKJ
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 19, 2019

@sanjay 

Try example listed on this page using curl request, https://developer.atlassian.com/server/jira/platform/jira-rest-api-example-add-comment-8946422/

 

You get above mentioned error when 'JSON' data send to request is malformed or not understood properly by Jira.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events