A comment.

interface Comment {
    author?: Version3.Version3Models.UserDetails;
    body?: Document;
    created?: string;
    id?: string;
    jsdAuthorCanSeeRequest?: boolean;
    jsdPublic?: boolean;
    properties?: Version3.Version3Models.EntityProperty[];
    renderedBody?: string;
    self?: string;
    updateAuthor?: Version3.Version3Models.UserDetails;
    updated?: string;
    visibility?: Version3.Version3Models.Visibility;
}

Hierarchy (view full)

Properties

body?: Document

The comment text in Atlassian Document Format.

created?: string

The date and time at which the comment was created.

id?: string

The ID of the comment.

jsdAuthorCanSeeRequest?: boolean

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 issuesfor information on setting up this feature.

jsdPublic?: boolean

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 and, therefore, there is no Jira Service Desk for the issue to be visible on. To create a comment with its visibility in Jira Service Desk set to false, use the Jira Service Desk REST API Create request comment operation.

A list of comment properties. Optional on create and update.

renderedBody?: string

The rendered version of the comment.

self?: string

The URL of the comment.

updated?: string

The date and time at which the comment was updated last.