ODBC guide

Update an existing comment (plain text body)


Updates an existing comment’s body. Identify the comment by Id in the WHERE clause and the issue by IssueIdOrKey in WITH. Set Body to the new plain text.

UPDATE Comments
 SET Body='Updated at <<FUN_NOW>>'
WHERE Id=10004
WITH(IssueIdOrKey='CS-2')