Developer Portal for YouTrack and Hub Help

IssueComment

Represents an existing issue comment.

This table describes attributes of the IssueComment entity.

  • To receive an attribute in the response from the server, specify it explicitly in the fields request parameter.

  • To update an attribute, provide it in the body of a POST request.

Field

Type

Description

id

String

The ID of the vote for the duplicate issue. Read-only.

text

String

The text of the comment. Can be null.

textPreview

String

The comment text as it is shown in UI after processing with wiki/markdown (including HTML markup). Read-only.

created

Long

Time the comment was created as a timestamp. Read-only. Can be null.

updated

Long

Time the comment was last updated as a timestamp. Read-only. Can be null.

author

User

The user who created the comment. Read-only. Can be null.

issue

Issue

The issue the comment belongs to. Read-only. Can be null.

attachments

Array of IssueAttachments

The list of attachments that are attached to the comment.

visibility

Visibility

Visibility settings of the comment. They define who is allowed to see the comment. Can be null.

deleted

Boolean

When true, the comment is considered to be deleted, otherwise false.

Last modified: 30 May 2023