YouTrack Standalone 2017.3 Help

Update a Comment

PUT /rest/issue/{issue_id}/comment/{comment_id}

Update a comment in an issue.

PUT /rest/issue/{issue_id}/comment/{comment_id} {"text": "updated comment text"}


Name Type Description
issue issueById ID of an issue, to which the comment belongs.
comment commentByid ID of a comment to update.
text string The new text of the comment.



PUT http://localhost:8081/rest/issue/HBR-60/comment/42-310 Cookie: $Version=0; JSESSIONID=j9wmm40hwk3t1lp8e11l9p0d4; $Path=/;; $Path=/ {"text": "This is the updated comment"}


HTTP/1.1 200 OK Server: nginx Date: Tue, 21 Jan 2014 09:04:42 GMT Content-Type: text/plain; charset=UTF-8 Content-Length: 0 Connection: keep-alive
Last modified: 17 November 2017