packages/pieces/community/azure-devops/README.md
Track work, code, and ship software with Azure DevOps. Automate your work item management and integrate with Azure Boards.
Azure DevOps is a suite of development tools from Microsoft for planning, collaborating, and shipping software. Azure Boards provides work item tracking with Kanban boards, backlogs, team dashboards, and custom reporting.
This piece lets you create, update, and track work items directly from Activepieces.
To connect Azure DevOps to Activepieces, you need a Personal Access Token (PAT):
You'll also need your Organization URL, which looks like https://dev.azure.com/mycompany.
| Action | Description |
|---|---|
| Create Work Item | Create a new Bug, Task, User Story, or any work item type |
| Get Work Item | Retrieve details of a work item by ID |
| Update Work Item | Update title, description, state, assignee, or priority |
| List Work Items | Query work items using WIQL (Work Item Query Language) |
| Add Comment | Add a comment to an existing work item |
| Trigger | Description |
|---|---|
| New or Updated Work Item (Instant) | Fires instantly via Azure DevOps Service Hooks when a work item is created, updated, or commented on. Requires a public Activepieces webhook URL. |
| New or Updated Work Item | Polling fallback that checks every few minutes. Use when your Activepieces instance is not reachable from the public internet. |
The instant trigger registers a Service Hooks subscription in Azure DevOps automatically and removes it when the flow is disabled. Service Hooks deliver events to the webhook URL shown in the trigger's "Test" step — this URL must be reachable from Azure DevOps over HTTPS. If your Activepieces instance runs behind a private network, use the polling trigger instead.
Auto-create Azure DevOps bugs from support tickets:
Sync work item status changes:
Azure DevOps supports various work item types depending on your process template:
The piece automatically loads available types from your project.
The List Work Items action supports WIQL queries. Example:
SELECT [System.Id], [System.Title]
FROM WorkItems
WHERE [System.TeamProject] = @project
AND [System.State] = 'Active'
AND [System.AssignedTo] = @me
ORDER BY [System.ChangedDate] DESC
This piece uses the Azure DevOps REST API v7.1. For advanced use cases, the Custom API Call action lets you call any endpoint directly.