I am developing an in-house plugin for fetching all the open,resolved,reopen inline comments on confluence.
I can fetch the inline comments and the CommentStatus using the below APIs
ContentEntityObject contentEntityObject = page.getEntity(); List<Comment> contentCommentList = contentEntityObject.getComments(); comment.isInlineComment() comment.getStatus() comment.getBodyAsStringWithoutMarkup()
I can’t find an API in the confluence document for fetching me the (high-lighted) text on which the comment (inline comment) has been placed.
I tried using comment.getLinkWikiMarkup() but it seems to give me some number which I am not sure would be useful.
How can I fetch the highlighted text on the confluence?