Hi,
I need to update a comment,
I can get the comment id and author.
Just need to update the comment body with plugin.
Which class should i use?
I have tried CommentManager.Update().
But i can not find how to update the comment body.
void update(Comment comment,
boolean dispatchEvent)
Persists the updated comment.
Parameters:
comment - to update
dispatchEvent - if true then an event of type EventType.ISSUE_COMMENT_EDITED_ID will be dispatched and any notifications listening for that event will be triggered. If false no event will be dispatched.
Throws:
IllegalArgumentException - if comment passed in is null or its id is null