Navigation: Home > API Reference > Work Item Tracking API
The Work Item Tracking API enables programmatic access to work items in Azure DevOps. It provides capabilities to create, read, update, and delete work items, run queries, and interact with work item types and fields. This API is essential for building integrations, automating work item management, and implementing custom workflows for Azure DevOps projects.
The Work Item Tracking API offers these key capabilities:
Work Item Management
Query Capabilities
Metadata Access
Relationship Management
To use the Work Item Tracking API, you'll need to obtain an instance of the Work Item Tracking API client through the WebApi Core:
import * as azdev from "azure-devops-node-api";
// Initialize authentication
const orgUrl = "https://dev.azure.com/your-organization";
const token = "your-personal-access-token";
const authHandler = azdev.getPersonalAccessTokenHandler(token);
// Create a connection to Azure DevOps
const connection = new azdev.WebApi(orgUrl, authHandler);
// Get the Work Item Tracking API client
const workItemTrackingApi = await connection.getWorkItemTrackingApi();
This section contains links to detailed documentation for the Work Item Tracking API:
The Work Item Tracking API can be used in various scenarios:
Connect Azure DevOps work items with third-party tools, enabling bidirectional synchronization of data between systems.
Create automated workflows that create and update work items based on external events or triggers, reducing manual effort.
Generate custom reports on work item status, progress, and metrics to gain insights into project health and team performance.
Build custom dashboards that display work item data in ways that are tailored to specific team or stakeholder needs.
Perform batch operations on multiple work items simultaneously, saving time when making similar changes across many items.
The Work Item Tracking API is commonly used in conjunction with other Azure DevOps APIs to create comprehensive solutions:
Work items can be linked to Git commits, branches, and pull requests to provide traceability between requirements and code changes.
Common integration patterns include:
See Work Item + Git Integration for detailed examples.
Work items can be linked to builds to track which requirements are implemented in which builds.
Common integration patterns include:
See Work Item + Build Integration for detailed examples.
For complex scenarios involving Work Item Tracking, Git, and Build APIs together, see Cross-API Examples.
For a comprehensive view of how Work Item Tracking API methods relate to other APIs, see the API Cross-Reference Table.