Comment
Represents a comment entity.
Extends SubItem.
Properties
Name | Type | Description |
---|---|---|
attachments | Array.<Attachment> | The files attached to the comment. |
author | User | The author of the entity. |
created | string | The date and time when the entity was created. The expected string format is one of those returned by the `getTimestampFormats` function. |
id | string | The ID of the entity. |
type | 'comment' | The type of the custom field. |
updated | string | The date and time when the entity was last updated. The expected string format is one of those returned by the `getTimestampFormats` function. |
updatedBy | User | The user who last updated the entity. |
visibleToGroups | Array.<UserGroup> | The user groups that can view the comment. `null` by default. |
visibleToUsers | Array.<User> | The users who can view the comment. If none of the `visibleToUsers` and the `visibleToGroups` parameters are specified, the comment becomes visible to issue or article readers. `null` by default. |