Azure DevOps · Schema

WorkItemType

Definition of a work item type

AgileCI/CDDevOpsProject ManagementVersion Control

Properties

Name Type Description
name string Display name of the work item type
referenceName string Reference name used in WIQL queries
description string Description of the work item type and its intended use
color string Hex color code for the work item type icon
icon object Icon information for the work item type
isDisabled boolean Whether the work item type is disabled
xmlForm string XML definition of the work item type form
fields array Fields defined for this work item type
fieldInstances array
transitions object Map of allowed state transitions
states array Valid states for this work item type
url string
View JSON Schema on GitHub

JSON Schema

microsoft-azure-devops-workitemtype-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/WorkItemType",
  "title": "WorkItemType",
  "type": "object",
  "description": "Definition of a work item type",
  "properties": {
    "name": {
      "type": "string",
      "description": "Display name of the work item type",
      "example": "Bug"
    },
    "referenceName": {
      "type": "string",
      "description": "Reference name used in WIQL queries",
      "example": "Microsoft.VSTS.WorkItemTypes.Bug"
    },
    "description": {
      "type": "string",
      "description": "Description of the work item type and its intended use"
    },
    "color": {
      "type": "string",
      "description": "Hex color code for the work item type icon",
      "example": "CC293D"
    },
    "icon": {
      "type": "object",
      "description": "Icon information for the work item type",
      "properties": {
        "id": {
          "type": "string"
        },
        "url": {
          "type": "string",
          "format": "uri"
        }
      }
    },
    "isDisabled": {
      "type": "boolean",
      "description": "Whether the work item type is disabled"
    },
    "xmlForm": {
      "type": "string",
      "description": "XML definition of the work item type form"
    },
    "fields": {
      "type": "array",
      "description": "Fields defined for this work item type",
      "items": {
        "$ref": "#/components/schemas/WorkItemTypeFieldInstance"
      }
    },
    "fieldInstances": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/WorkItemTypeFieldInstance"
      }
    },
    "transitions": {
      "type": "object",
      "description": "Map of allowed state transitions",
      "additionalProperties": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "to": {
              "type": "string"
            },
            "actions": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "states": {
      "type": "array",
      "description": "Valid states for this work item type",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "color": {
            "type": "string"
          },
          "category": {
            "type": "string"
          }
        }
      }
    },
    "url": {
      "type": "string",
      "format": "uri"
    }
  }
}