Developer Portal for YouTrack and Hub 2021.3 Help

Comment

Extends SubItem.

Properties

Name

Type

Description

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.

usesMarkdown

boolean

When `true`, the comment is parsed as Markdown. When `false`, the comment is parsed as Wiki. Changing this value does not transform the markup from one syntax to another. When not set, acts as `true`.

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.

Last modified: 14 September 2021