CommentVersion interface

Represents a specific version of a comment on a work item.

Extends

Properties

createdBy

IdentityRef of the creator of the comment.

createdDate

The creation date of the comment.

createdOnBehalfDate

Effective Date/time value for adding the comment. Can be optionally different from CreatedDate.

createdOnBehalfOf

Identity on whose behalf this comment has been added. Can be optionally different from CreatedBy.

id

The id assigned to the comment.

isDeleted

Indicates if the comment has been deleted at this version.

modifiedBy

IdentityRef of the user who modified the comment at this version.

modifiedDate

The modification date of the comment for this version.

renderedText

The rendered content of the comment at this version.

text

The text of the comment at this version.

version

The version number.

Inherited Properties

url

REST URL for the resource.

Property Details

createdBy

IdentityRef of the creator of the comment.

createdBy: IdentityRef

Property Value

createdDate

The creation date of the comment.

createdDate: Date

Property Value

Date

createdOnBehalfDate

Effective Date/time value for adding the comment. Can be optionally different from CreatedDate.

createdOnBehalfDate: Date

Property Value

Date

createdOnBehalfOf

Identity on whose behalf this comment has been added. Can be optionally different from CreatedBy.

createdOnBehalfOf: IdentityRef

Property Value

id

The id assigned to the comment.

id: number

Property Value

number

isDeleted

Indicates if the comment has been deleted at this version.

isDeleted: boolean

Property Value

boolean

modifiedBy

IdentityRef of the user who modified the comment at this version.

modifiedBy: IdentityRef

Property Value

modifiedDate

The modification date of the comment for this version.

modifiedDate: Date

Property Value

Date

renderedText

The rendered content of the comment at this version.

renderedText: string

Property Value

string

text

The text of the comment at this version.

text: string

Property Value

string

version

The version number.

version: number

Property Value

number

Inherited Property Details

url

REST URL for the resource.

url: string

Property Value

string

Inherited From WorkItemTrackingResource.url