Comment.getBody() without tags


I have a problem with getting text from comments. When I call getBody() method from the Comment object, I get text with tags from visual editor etc.

How can I get text without tags?

1 Like

Since Jira Server uses TinyMCE, I’m assuming that getBody() is a function of TinyMCE editor that is being used.

Can you try getContent() would that work?

Thank you for fast reply,

But I don’t have this method, because I am trying to get this content by Java API (Comment Object)