Docs
Sign in

Azure DevOps

Azure DevOps is Microsoft's tool for planning and delivering software, and the Azure DevOps connector lets TAO read work items, pull requests and pipeline runs, and create or update work items with your approval.

Screenshot to add: The Add Azure DevOps connection window with Organization, Default project and Personal Access Token.

A work item is a task, bug or user story on your team's board. A pipeline is an automated build or release.

What you can do

Illustrative examples:

  • "What are my open bugs in Azure DevOps?"
  • "Show work item 1234 with its description."
  • "Which pull requests are active in the Payments project?"
  • "Did the last build pass?"
  • "Create a Bug for the checkout error."
  • "Set work item 1234 to Resolved."

Before you connect

  • An Azure DevOps Services organization. The address looks like https://dev.azure.com/acme. Your organization name is the acme part.
  • A Personal Access Token (PAT). A PAT is a long password you create in Azure DevOps so another program can act for you. Create it under User settings > Personal access tokens.
  • Token permissions. The product's setup hint says to give the token these scopes (permissions): Work Items (Read and write), Code (Read) and Build (Read).
  • A default project (optional). TAO uses it when a request does not name a project.

Connect it

  1. Create the token in Azure DevOps

    Create a PAT with the scopes above. Copy it.

  2. Open My Connectors

    In TAO, go to Settings > Connectors and open Azure DevOps. If it is missing, an admin has not switched it on.

  3. Enter your organization

    Fill in Organization. Type just the name, such as acme, not the full address.

  4. Optionally set a default project

    Fill in Default project if you want one.

  5. Paste the token

    Paste the PAT alone in the Personal Access Token box. Do not add a user name.

  6. Save

    Click Save.

Tools

Tool nameWhat it doesRead or Write
azure_devops_list_work_itemsLists work items. Filter by state, type or "assigned to me", or give a raw query.Read
azure_devops_get_work_itemGets one work item with its description and revision.Read
azure_devops_list_pull_requestsLists pull requests (active by default) for a project or one repository.Read
azure_devops_get_pipeline_runShows a pipeline run's state and result, or the latest runs.Read
azure_devops_create_work_itemCreates a Bug, Task, User Story or similar.Write (needs approval)
azure_devops_update_work_itemChanges fields such as state, assignee or title.Write (needs approval)

Total: 6 tools, 4 reads and 2 writes.

Limits and good to know

  • Both writes wait for approval. Nothing is created or changed until a person approves it in the approvals queue.
  • Stale updates are refused. If someone edits the work item after the request was made, the update is refused rather than overwriting their change.
  • System fields cannot be set. Fields Azure DevOps manages itself, such as ID and created date, cannot be written.
  • A wrong token looks odd. Azure DevOps answers a bad token with a sign-in web page. TAO treats that as a rejected token and does not read it as data.
  • Failed writes are not repeated. If the outcome is unclear, TAO asks you to check Azure DevOps.
  • No delete tools. There are no tools for deleting work items or running pipelines.
  • Not yet tested against a live organization. The product notes say this connector is built and unit-tested, but has not been verified against a real Azure DevOps organization. Expect rough edges.
  • Long work-item text is shortened.