Interface Comment

All Superinterfaces:
WithId
All Known Subinterfaces:
MutableComment
All Known Implementing Classes:
CommentImpl, MockComment

@PublicApi public interface Comment extends WithId
Represents a Comment on a JIRA Issue
  • Method Details

    • getAuthor

      String getAuthor()
      Deprecated.
      Use getAuthorKey() or getAuthorApplicationUser() instead. Since v6.0.
      Returns the key for the user that created the comment
      Returns:
      the key for the user that created the comment
    • getAuthorKey

      String getAuthorKey()
      Deprecated.
      Use getAuthorKey() or getAuthorApplicationUser() instead. Since v6.0.
      Returns the key for the user that created the comment
      Returns:
      the key for the user that created the comment
    • getAuthorUser

      ApplicationUser getAuthorUser()
      Deprecated.
      Use getAuthorApplicationUser() instead. Since v6.0.
      Returns the User that created the comment
      Returns:
      the User that created the comment.
    • getAuthorApplicationUser

      ApplicationUser getAuthorApplicationUser()
      Returns the user that created the comment
      Returns:
      the user that created the comment
    • getAuthorFullName

      String getAuthorFullName()
    • getBody

      String getBody()
    • getCreated

      Date getCreated()
    • getGroupLevel

      String getGroupLevel()
      Returns the name of the group to which comment visibility will be restricted
      Returns:
      the name of the group to which comment visibility will be restricted.
    • getId

      Long getId()
      Specified by:
      getId in interface WithId
      Returns:
      the unique id of the entity.
    • getRoleLevelId

      Long getRoleLevelId()
    • getRoleLevel

      ProjectRole getRoleLevel()
    • getIssue

      Issue getIssue()
    • getUpdateAuthor

      String getUpdateAuthor()
      Deprecated.
      Use getUpdateAuthorApplicationUser() instead. Since v6.0.
      Returns:
      userkey of the update author
    • getUpdateAuthorUser

      ApplicationUser getUpdateAuthorUser()
      Deprecated.
      Use getUpdateAuthorApplicationUser() instead. Since v6.0.

      Get the user that performed the update

      Returns:
      a User object
    • getUpdateAuthorApplicationUser

      ApplicationUser getUpdateAuthorApplicationUser()
      Get the user that performed the update
      Returns:
      an object
    • getUpdateAuthorFullName

      String getUpdateAuthorFullName()
    • getUpdated

      Date getUpdated()