Azure DevOps · Schema

WorkItemRelation

A relation between a work item and another resource

AgileCI/CDDevOpsProject ManagementVersion Control

Properties

Name Type Description
rel string Relation type (e.g., System.LinkTypes.Hierarchy-Reverse, AttachedFile)
url string URL of the related resource
attributes object Additional attributes for the relation (e.g., comment, isLocked)
View JSON Schema on GitHub

JSON Schema

microsoft-azure-devops-workitemrelation-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/WorkItemRelation",
  "title": "WorkItemRelation",
  "type": "object",
  "description": "A relation between a work item and another resource",
  "properties": {
    "rel": {
      "type": "string",
      "description": "Relation type (e.g., System.LinkTypes.Hierarchy-Reverse, AttachedFile)",
      "example": "System.LinkTypes.Hierarchy-Reverse"
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "URL of the related resource"
    },
    "attributes": {
      "type": "object",
      "description": "Additional attributes for the relation (e.g., comment, isLocked)",
      "additionalProperties": true
    }
  }
}