Getting StartedSolveBuildIntelligenceLearnHelpWhat's New
CONNECTORSProductivity

Azure DevOps

For teams building in Rocket from Azure DevOps: connect for work-item context, then set env vars so your app can call Azure DevOps APIs.

For teams who plan work in Azure DevOps and build in Rocket. Connect so you can build or fix from a work item or wiki URL and update Azure DevOps from chat. After you set env vars, your app can call Azure DevOps APIs.

You need two pieces: the connector (Azure DevOps as generation context for Rocket) and environment variables plus a PAT (so your generated app can call Azure DevOps APIs). Connect at workspace level (Settings, shared across tasks) or task level (Connectors tab or chat).

Before you start: a Microsoft account with access to the target Azure DevOps organization and project; permission to approve OAuth (or an admin if you see Need admin approval); a Personal Access Token you can create (or an admin policy that allows it); and the organization name from https://dev.azure.com/{organization} plus the project name for env vars. Use the same organization in Select Organization and AZURE_DEVOPS_ORG.


What you can do

Build from a work item

Paste a user story or task URL. Rocket reads requirements and acceptance criteria, then generates the feature.

Fix a bug from a report

Paste a bug URL. Rocket reads reproduce steps and expected vs actual behavior, then produces a targeted fix.

Build from the current sprint

Ask Rocket to read the active sprint and build the highest-priority work first.

Use repo and pull request context

Point Rocket at a repository or pull request so new code matches your existing patterns.

Fix a failing pipeline

Paste a failing build URL. Rocket checks the logs and fixes the issue in the app.

Build from a wiki page

Paste a wiki URL. Rocket follows the specs on that page when generating the feature.


Connect Azure DevOps

Authorize with Microsoft, then select the organization Rocket should use. You can also connect from workspace Settings.

In the preview toolbar, click the ... button.

Rocket preview toolbar with the three-dot overflow menu highlighted.Rocket preview toolbar with the three-dot overflow menu highlighted.
Open the overflow menu in the preview toolbar

Select Connectors from the menu.

Overflow menu with Connectors highlighted.Overflow menu with Connectors highlighted.
Choose Connectors from the menu

Click the Azure DevOps card.

Connectors list with the Azure DevOps card highlighted.Connectors list with the Azure DevOps card highlighted.
Open the Azure DevOps connector

On the Azure DevOps connector page, click Connect.

Azure DevOps connector detail page with the Connect button highlighted.Azure DevOps connector detail page with the Connect button highlighted.
Click Connect on the Azure DevOps connector

A Microsoft sign-in screen opens. Sign in with an account that has access to your Azure DevOps organization, review the permissions Rocket requests, and approve access. You return to Rocket when authorization completes.

Under Select Organization, choose which Azure DevOps organization to connect, then confirm. When the connection is active, Disconnect is available on the connector page.

Azure DevOps connector with Select Organization dropdown highlighted.Azure DevOps connector with Select Organization dropdown highlighted.
Select your Azure DevOps organization

Disconnect a service

Disconnect or switch accounts from workspace Settings.

Set environment variables

These three values are for the generated app, not for signing into the connector. Use the same organization you chose under Select Organization.

VariablePurpose
AZURE_DEVOPS_ORGAzure DevOps organization name
AZURE_DEVOPS_PROJECTProject within that organization
AZURE_DEVOPS_PATPersonal Access Token for app API auth

Reference them in server-side code as process.env.AZURE_DEVOPS_ORG, process.env.AZURE_DEVOPS_PROJECT, and process.env.AZURE_DEVOPS_PAT.

Never paste your Personal Access Token into chat, and never share passwords, OAuth tokens, refresh tokens, client secrets, or PATs with support. Add placeholders in .env, then set real values in Environment settings. If a token is exposed, revoke access in Azure DevOps and create a new one.

Open the Code tab and add:

AZURE_DEVOPS_ORG=your-org
AZURE_DEVOPS_PROJECT=your-project
AZURE_DEVOPS_PAT=your-pat-here

Open Settings → Environment and fill in Staging and Production for all three variables.

Ask Rocket to use these variables when building Azure DevOps-backed features in your app.

Environment variables

How to add and manage Staging and Production values in Rocket.


Example prompts

Pick the tab that matches what you are doing. Paste an Azure DevOps URL when you have one. Review changes in Azure DevOps before sharing; they appear in your org immediately.

GoalSay this in chat
Build from a storyBuild the feature described in [ADO_URL]. Read the requirements, acceptance criteria, and linked items first.
Fix a bugFix the bug at [ADO_URL]. Read the steps to reproduce and expected vs actual behavior, then generate a targeted fix.
See my workShow my assigned Azure DevOps work items in this project and suggest which one to build first.
Search the boardSearch Azure DevOps for work items about checkout and summarize the open ones.
Create follow-upsCreate Azure DevOps tasks for QA and edge cases from this build, and link them under the parent story.
Update and commentMove work item [ADO_URL] to Done and leave a comment describing what was built.

Revoke access

To fully remove Rocket's access to Azure DevOps, disconnect in Rocket and revoke credentials on Microsoft's side.

  1. Disconnect in Rocket. Use Disconnect on the Azure DevOps connector, or go to Settings > Connectors.
  2. Revoke the OAuth authorization. In Azure DevOps, open User settings → Profile → Authorizations, find Rocket, and click Revoke. You can also revoke Microsoft account consent at My Apps (⋯ → Manage your application → Revoke Permissions).
  3. Revoke any Personal Access Token. If you set AZURE_DEVOPS_PAT in Environment settings for a generated app, in Azure DevOps open User settings → Personal access tokens, select that PAT, and click Revoke.

Revoke a Personal access token (Microsoft Learn)

Follow Microsoft Learn to revoke a PAT in Azure DevOps.

Manage OAuth authorizations in Azure DevOps

Revoke Rocket from Azure DevOps user authorizations.

Disconnecting in Rocket alone does not revoke the OAuth grant or delete a PAT. Complete the provider steps above for a full revoke.


What's next?

On this page