{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://learn.microsoft.com/en-us/rest/api/azure/devops/wit/work-items/get-work-item", "title": "Azure DevOps Work Item", "description": "Schema for an Azure DevOps work item resource as returned by the Work Item Tracking REST API. Work items represent units of work such as Bugs, Tasks, User Stories, Features, and Epics in Azure Boards.", "type": "object", "required": ["id", "rev", "fields", "url"], "properties": { "id": { "type": "integer", "description": "Unique numeric identifier assigned to the work item. Immutable once created.", "minimum": 1, "examples": [42, 1001] }, "rev": { "type": "integer", "description": "Revision number of the work item. Increments by 1 on every update. Used for optimistic concurrency control.", "minimum": 1, "examples": [1, 7] }, "fields": { "type": "object", "description": "Dynamic map of field reference names to their values. System fields use the 'System.' prefix; Microsoft Visual Studio Team System (VSTS) fields use the 'Microsoft.VSTS.' prefix. Custom fields use a project-specific namespace.", "properties": { "System.Id": { "type": "integer", "description": "Duplicate of the top-level id field. Read-only.", "minimum": 1 }, "System.WorkItemType": { "type": "string", "description": "The type of work item (Bug, Task, User Story, Feature, Epic, etc.)", "examples": ["Bug", "Task", "User Story", "Feature", "Epic", "Test Case"] }, "System.State": { "type": "string", "description": "Current state of the work item. Valid values depend on the work item type and process template (e.g., Agile, Scrum, CMMI).", "examples": ["New", "Active", "Resolved", "Closed", "Removed", "In Progress", "Done"] }, "System.Reason": { "type": "string", "description": "Reason for the current state (sub-state of State). Values depend on the state transition.", "examples": ["New", "Implementation started", "Completed", "Won't Fix"] }, "System.Title": { "type": "string", "description": "Short title or name of the work item. Required when creating a work item.", "minLength": 1, "maxLength": 255, "examples": ["Fix login button alignment on mobile", "Implement OAuth 2.0 login flow"] }, "System.Description": { "type": ["string", "null"], "description": "Detailed description of the work item in HTML format.", "examples": ["
The login button is misaligned on screens narrower than 768px.
"] }, "System.AssignedTo": { "oneOf": [ { "type": "string", "description": "Display name and email in format 'Display Name