Comment on an artifact like Work Item or Wiki, etc.

interface Comment {
    artifactId?: string;
    createdBy?: IdentityRef;
    createdDate?: Date;
    id?: number;
    isDeleted?: boolean;
    mentions?: CommentMention[];
    modifiedBy?: IdentityRef;
    modifiedDate?: Date;
    parentId?: number;
    reactions?: CommentReaction[];
    renderedText?: string;
    replies?: CommentList;
    state?: CommentState;
    text?: string;
    url?: string;
    version?: number;
}

Hierarchy (View Summary)

Properties

artifactId?: string

The id of the artifact this comment belongs to

createdBy?: IdentityRef

IdentityRef of the creator of the comment.

createdDate?: Date

The creation date of the comment.

id?: number

The id assigned to the comment.

isDeleted?: boolean

Indicates if the comment has been deleted.

mentions?: CommentMention[]

The mentions of the comment.

modifiedBy?: IdentityRef

IdentityRef of the user who last modified the comment.

modifiedDate?: Date

The last modification date of the comment.

parentId?: number

The comment id of the parent comment, if any

reactions?: CommentReaction[]

The reactions on the comment.

renderedText?: string

The rendered text of the comment

replies?: CommentList

Replies for this comment

state?: CommentState

Indicates the current state of the comment

text?: string

The plaintext/markdown version of the comment

url?: string

REST URL for the resource.

version?: number

The current version of the comment