# Azure DevOps integration

> Azure DevOps Services REST API for projects, work items, Git repositories, pull requests, pipelines, builds, and releases.

- Authentication: oauth2

## Tools (46)

- **Add PR Comment Thread**: Add a comment thread (general or inline) to a pull request
- **Add Work Item Comment**: Add a comment to a work item's discussion
- **Create Pull Request**: Open a pull request between two branches
- **Create Push (Commit Files)**: Commit file adds, edits, or deletes directly to a branch
- **Create Release**: Create (queue) a new release from a release definition
- **Create Work Item**: Create a work item of a given type (Bug, Task, User Story, etc.)
- **Delete Work Item**: Delete a work item (moves to recycle bin by default)
- **Get Build**: Get a build by id with status and timing
- **Get Build Logs**: List a build's log files and read their content
- **Get Commit**: Get a single commit with optional change list
- **Get File Content**: Get a file or folder listing from a repository at a given version
- **Get My Profile**: Get the authenticated user's profile (id, display name, email)
- **Get Pipeline**: Get a pipeline's definition metadata by id
- **Get Pipeline Run**: Get one pipeline run with state, result, and resource versions
- **Get Project**: Get a single project by name or GUID
- **Get Pull Request**: Get a pull request by id
- **Get Release**: Get a release with its environments and deployment status
- **Get Repository**: Get a Git repository by name or id
- **Get Work Item**: Get a single work item with fields and optionally relations
- **Get Work Items Batch**: Get up to 200 work items by id with their fields
- **Get Work Item Updates**: Get the revision history of field changes on a work item
- **List Build Definitions**: List build definitions in a project
- **List Builds**: List builds with definition, status, result, and time filters
- **List Commits**: List commits in a repository with search criteria filters
- **List My Organizations**: List Azure DevOps organizations the authenticated user belongs to
- **List Pipeline Runs**: List recent runs of a pipeline (newest first)
- **List Pipelines**: List YAML/classic pipelines in a project
- **List Projects**: List all projects in the organization visible to the caller
- **List PR Threads**: List comment threads on a pull request
- **List Pull Requests**: List pull requests in a repository with status and reviewer filters
- **List Refs (Branches and Tags)**: List branch and tag refs in a repository
- **List Release Definitions**: List release definitions in a project
- **List Releases**: List releases in a project (Release Management)
- **List Repositories**: List Git repositories in a project
- **List Saved Queries**: List saved work item queries and query folders in a project
- **List Team Members**: List members of a team with their identity details
- **List Teams**: List teams in a project
- **List Work Item Comments**: List comments on a work item
- **List Work Item Types**: List work item types available in a project
- **Query Work Items (WIQL)**: Run a WIQL query to find work item ids matching criteria
- **Queue Build**: Queue a build for a definition (classic Build API)
- **Run Pipeline**: Queue a pipeline run with optional branch, variables, and parameters
- **Update Pull Request**: Update, complete, or abandon a pull request
- **Update Work Item**: Update fields, state, or relations of a work item
- **Upload Work Item Attachment**: Upload a file and get an attachment reference to link to a work item
- **Vote on Pull Request**: Cast or update a reviewer vote (approve, wait, reject) on a pull request

## Triggers (1)

- **New Work Item in Azure DevOps**: Triggers when a new work item is created in Azure DevOps

## Related prompts

- [Weekday Azure DevOps sprint standup digest in Slack](https://www.generalinput.com/prompts/weekday-azure-devops-sprint-standup-digest-in-slack.md)
- [Instant Slack alert when an Azure DevOps build fails](https://www.generalinput.com/prompts/instant-slack-alert-when-an-azure-devops-build-fails.md)
- [Auto-summarize new pull requests in Microsoft Teams](https://www.generalinput.com/prompts/auto-summarize-new-pull-requests-in-microsoft-teams.md)
- [Log every new Azure DevOps work item to Google Sheets](https://www.generalinput.com/prompts/log-every-new-azure-devops-work-item-to-google-sheets.md)

Connect Azure DevOps in General Input: https://www.generalinput.com/apps/azure-devops