Comment interface

This document details the methods of the Comment interface you can use on a Comment returned by the Getters when you access the Comments field.

MethodReturn typeReturns

getAuthorApplicationUser()

ApplicationUser

The key for the user that created the comment

getAuthorFullName()

String

The display name of the user that created the comment

getBody()

String

The body of the comment
getBodyHtml() (green star)StringThe comment's text formatted into Html. Useful to insert the comment into the Html Body of the Email Issue post-function.

getCreated()

Date

The date on which the comment was created

getGroupLevel()

String

The group level on which the comment is applicable

getId()

LongThe ID of the comment

getIssue()

IssueThe issue on which the comment is added

getRoleLevel()

ProjectRole

The role level on which the comment is applicable

getRoleLevelId()

StringThe role ID on which the comment is applicable
getUpdateAuthorApplicationUser()ApplicationUserThe user that performed the update
getUpdateAuthorFullName()StringThe name of the user that performed the update
getUpdated()DateThe date on which the comment is updated
isInternal()BooleanTrue if the comment is "internal" in the Jira Service Desk sense.