interface Comment
Represents a Jira comment on a Jira issue.
A Jira comment is a message that can be written against a Jira issue. Through this interface, you can:
| Type Params | Return Type | Name and description |
|---|---|---|
|
abstract com.atlassian.jira.rest.clientv2.model.AllOfCommentAuthor |
getAuthor()Returns the author of the Comment. |
|
abstract java.lang.String |
getBody()Returns the body of the Comment. |
|
abstract java.time.OffsetDateTime |
getCreated()Returns the date and time at which the comment was created. |
|
abstract EntityProperties |
getEntityProperties()Retrieves the EntityProperties object associated with an issue's comment. |
|
abstract java.lang.String |
getId()Returns the id of the Comment. |
|
abstract java.lang.Boolean |
getJsdAuthorCanSeeRequest()Returns whether the comment was added from an email sent by a person who is not part of the issue. |
|
abstract java.lang.Boolean |
getJsdPublic()Returns whether the comment is visible in Jira Service Desk. |
|
abstract java.util.List<com.atlassian.jira.rest.clientv2.model.EntityProperty> |
getProperties()Returns a list of comment properties. |
|
abstract java.lang.String |
getRenderedBody()Returns the rendered version of the comment body. |
|
abstract java.lang.String |
getSelf()Returns the URL of the comment. |
|
abstract com.atlassian.jira.rest.clientv2.model.AllOfCommentUpdateAuthor |
getUpdateAuthor()Returns the user who last updated the comment. |
|
abstract java.time.OffsetDateTime |
getUpdated()Returns the date and time at which the comment was last updated. |
|
abstract com.atlassian.jira.rest.clientv2.model.AllOfCommentVisibility |
getVisibility()Returns the visibility settings of the comment. |
Returns the author of the Comment.
Returns the body of the Comment.
Returns the date and time at which the comment was created.
Retrieves the EntityProperties object associated with an issue's comment.
Returns the id of the Comment.
Returns whether the comment was added from an email sent by a person who is not part of the issue.
See Allow external emails to be added as comments on issues for information on setting up this feature.
Returns whether the comment is visible in Jira Service Desk.
Defaults to true when comments are created in the Jira Cloud Platform. This includes when the site doesn't use Jira Service Desk or the project isn't a Jira Service Desk project.
Returns a list of comment properties.
Returns the rendered version of the comment body.
Returns the URL of the comment.
Returns the user who last updated the comment.
Returns the date and time at which the comment was last updated.
Returns the visibility settings of the comment.
The group or role to which this comment is visible.