Azure DevOps · Schema

WorkItemComment

A comment on a work item

AgileCI/CDDevOpsProject ManagementVersion Control

Properties

Name Type Description
id integer Unique ID of the comment
text string Comment text in HTML format
workItemId integer ID of the work item this comment belongs to
version integer Version number of the comment
createdDate string Date and time the comment was created
createdBy object
modifiedDate string Date and time the comment was last modified
modifiedBy object
url string
View JSON Schema on GitHub

JSON Schema

microsoft-azure-devops-workitemcomment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/WorkItemComment",
  "title": "WorkItemComment",
  "type": "object",
  "description": "A comment on a work item",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Unique ID of the comment"
    },
    "text": {
      "type": "string",
      "description": "Comment text in HTML format"
    },
    "workItemId": {
      "type": "integer",
      "description": "ID of the work item this comment belongs to"
    },
    "version": {
      "type": "integer",
      "description": "Version number of the comment"
    },
    "createdDate": {
      "type": "string",
      "format": "date-time",
      "description": "Date and time the comment was created"
    },
    "createdBy": {
      "$ref": "#/components/schemas/IdentityRef"
    },
    "modifiedDate": {
      "type": "string",
      "format": "date-time",
      "description": "Date and time the comment was last modified"
    },
    "modifiedBy": {
      "$ref": "#/components/schemas/IdentityRef"
    },
    "url": {
      "type": "string",
      "format": "uri"
    }
  }
}