Skip to content
Maua.Culturewire

Azure DevOps

Repositories, pull requests, pipelines and work items

Developer toolsCatalog2 tools · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • OrganizationRequiredIdentifier
    • Personal access token (PAT)SecretRequired
    • Directory (tenant) IDOptional

    Where to find them

    1. At https://dev.azure.com/<organization>: “User settings” icon (top right) → “Personal access tokens” → “New Token”.
    2. Give it a name, choose the organization and the expiration (one year at most) and, under “Scopes”, select “Custom defined” with what you will use: Project and Team, Code, Build, Release and Work Items set to “Read” (or “Read & write” if you will make changes).
    3. Click “Create” and copy the token: it is shown only once. If it does not let you create it, an administrator must review the organization's personal access token policies.
  • OAuth 2.0

    PKCEYour OAuth app

    Bring your own OAuth app: register one with Azure DevOps, then create a custom auth config with its client ID and secret and our redirect URI. Setup guide

    Registering the OAuth app

    1. In the Microsoft Entra admin center open “App registrations” → “New registration” and register a “Web” application.
    2. Under “Authentication” add the redirect URI shown below.
    3. Under “Certificates & secrets” create a client secret and copy its value, together with the application (client) ID.
    4. Under “API permissions” add the delegated permissions listed in the scopes.
    5. Depending on your tenant's policy, some permissions may need an administrator to grant consent. Set the tenant to your directory (tenant) ID for a single-tenant app, or keep “organizations” for work and school accounts of any tenant. These steps are only needed for your own OAuth app: when this deployment has a managed Microsoft app, Continue connects without them.

    Default scopes

    • 499b84ac-1321-427f-aa17-267ca6975798/user_impersonation
    • offline_access

Tools (2)

  • Azure DevOps API requestAZUREDEVOPS_SEND_REQUEST

    Authenticated call to the Azure DevOps API (https://dev.azure.com/{organization}). Any endpoint of the API is allowed. Add api-version=7.1 to every call. Examples: GET /_apis/projects, GET /{project}/_apis/git/repositories, GET /{project}/_apis/git/repositories/{repo}/pullrequests?searchCriteria.status=active, GET /{project}/_apis/git/repositories/{repo}/items?path=/README.md&includeContent=true, GET /{project}/_apis/build/builds?$top=10&queryOrder=finishTimeDescending, GET /{project}/_apis/build/builds/{id}/logs, GET /{project}/_apis/pipelines, POST /{project}/_apis/pipelines/{id}/runs {}, POST /{project}/_apis/wit/wiql {"query": "SELECT [System.Id] FROM WorkItems WHERE …"}, GET /_apis/wit/workitems?ids=1,2, POST /{project}/_apis/wit/workitems/$Task with a JSON Patch [{"op": "add", "path": "/fields/System.Title", "value": "…"}] and the header Content-Type: application/json-patch+json.

    Required scopes

    No scopes required

    Input

    Azure DevOps API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.
  • Work itemsAZUREDEVOPS_LIST_WORK_ITEMS

    Searches a project's work items (tasks, bugs, stories…) with WIQL and returns type, title, state, assignee, priority, iteration and last modification. By default, the open ones, from the most recently modified to the oldest.

    Required scopes

    No scopes required

    Input

    Work items input
    NameTypeDescription
    projectrequiredstringProject name or ID
    wiqlstringFull WIQL query, e.g. SELECT [System.Id] FROM WorkItems WHERE [System.TeamProject] = @project AND [System.AssignedTo] = @me ORDER BY [System.ChangedDate] DESC
    maxintegerDefault: 50