You can edit a comment by first getting the comment ID. If you hover over the link icon of a comment(see screenshot) the ID should be contained in the link URL.
With the commentID you can then update the comment
comment = jira.comment('ALPHA-27', '10100')
comment.update(body = 'the text here will replace the text in the comment')
I'm sure there is a more streamlined method of obtaining the comment ID, but that should work for the sake of testing.
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