> ## Documentation Index
> Fetch the complete documentation index at: https://sleekplan.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Azure DevOps integration

> Connect an Azure DevOps organization to Sleekplan to link feedback posts with work items, create work items from posts, and keep statuses in sync in both directions.

The Azure DevOps integration ties your Sleekplan feedback board to your Azure Boards. From any feedback post you can create a new Azure DevOps work item or link an existing one, and you can keep the status of a post and its work item aligned automatically. That way your engineering team works in Azure DevOps while your users see progress on the public board.

<Info>
  Connecting and managing integrations is done from workspace **Settings**, which is available to workspace **owners** and **admins**. See [Roles and permissions](/help/account-security/roles-permissions).
</Info>

## Before you start

* You need an **Azure DevOps organization** where you are an administrator.
* In Azure DevOps, third-party application access over OAuth must be allowed. Open your Azure DevOps **Organization settings → Security → Policies** and turn on **Third-party application access via OAuth**.

  <img src="https://mintcdn.com/sleekplangmbh/7sCFHm2Bm3uXI56F/images/integrations-azure-devops-oauth-policy.png?fit=max&auto=format&n=7sCFHm2Bm3uXI56F&q=85&s=1fa0c0c73bb6f71ebab7723e9f10a0a2" alt="The Azure DevOps Organization settings Policies page with the &#x22;Third-party application access via OAuth&#x22; toggle turned on" width="2046" height="1046" data-path="images/integrations-azure-devops-oauth-policy.png" />
* The connection is **one to one**: one Azure DevOps organization links to one Sleekplan workspace. If an organization is already connected to another workspace, it won't be available to connect again.

## Connect Azure DevOps

<Steps>
  <Step title="Open the Integrations settings">
    Go to [**Settings → Integrations**](https://app.sleekplan.com/settings/integrations). In the Settings sidebar this lives under **Integrations & Developers**.
  </Step>

  <Step title="Find Azure DevOps and connect">
    In the **All integrations** list, find **Azure DevOps** and click **Connect**.

    <img src="https://mintcdn.com/sleekplangmbh/7sCFHm2Bm3uXI56F/images/integrations-azure-devops-connect.png?fit=max&auto=format&n=7sCFHm2Bm3uXI56F&q=85&s=34cea5ba1f71ba8626a60a4322c80390" alt="The Integrations settings screen with the Azure DevOps row highlighted and its Connect button" width="1440" height="900" data-path="images/integrations-azure-devops-connect.png" />
  </Step>

  <Step title="Authorize access in Azure DevOps">
    A new tab opens on Azure DevOps. Sign in if prompted, then accept the requested permissions to let Sleekplan read and update your work items. Azure DevOps sends you back to Sleekplan when you're done.

    <img src="https://mintcdn.com/sleekplangmbh/7sCFHm2Bm3uXI56F/images/integrations-azure-devops-authorize.png?fit=max&auto=format&n=7sCFHm2Bm3uXI56F&q=85&s=22d46454ddfbdd8cdba2234213e68d0f" alt="The Azure DevOps OAuth consent screen showing the permissions Sleekplan requests, with the Accept button" width="2004" height="1166" data-path="images/integrations-azure-devops-authorize.png" />
  </Step>

  <Step title="Confirm the connection">
    Back on [**Settings → Integrations**](https://app.sleekplan.com/settings/integrations), Azure DevOps now appears at the top under **Connected** with a **Manage** button. Your Azure organization is linked to this workspace.
  </Step>
</Steps>

## Choose your organization

If your Azure DevOps account has access to more than one organization, Sleekplan connects the first available one. To switch:

<Steps>
  <Step title="Open the manage dialog">
    On [**Settings → Integrations**](https://app.sleekplan.com/settings/integrations), click **Manage** on the Azure DevOps row.
  </Step>

  <Step title="Select an organization">
    Use the **Select Organization** dropdown to pick the Azure DevOps organization you want to connect, then click **Save**. Only organizations that aren't already connected to another workspace appear here.
  </Step>
</Steps>

<Warning>
  Switching organizations clears your existing project and status mappings, because statuses differ between organizations. You'll set up status sync again for the new organization.
</Warning>

## Link and create work items

You link and create work items from an individual feedback post, not from the settings screen.

<Steps>
  <Step title="Open a feedback post">
    On your [feedback board](/help/feedback/create-post), open a post to view its detail. The Azure DevOps panel appears in the post's sidebar.
  </Step>

  <Step title="Search for an existing item, or create a new one">
    Type a search term to find a matching work item and select it to link it, or click **Create new item** to make one. When you create an item you choose the **project**, the **work item type** (for example Bug or User Story), and enter a **title** and **description**.
  </Step>

  <Step title="Work with the linked item">
    Once linked, the panel shows the connected work item with a link straight to it in Azure DevOps. Click **Unlink item** any time to remove the connection.
  </Step>
</Steps>

<Note>
  Whenever Sleekplan links or creates a work item, it adds a **Sleekplan** tag to that item in Azure DevOps and posts a comment in the item's history with a link back to the Sleekplan post. This makes linked items easy to find and trace in Azure Boards.
</Note>

<img src="https://mintcdn.com/sleekplangmbh/7sCFHm2Bm3uXI56F/images/integrations-azure-devops-work-item-backlink.png?fit=max&auto=format&n=7sCFHm2Bm3uXI56F&q=85&s=c6d36c1d5fcf00aa9e1b805c5cb24ff2" alt="An Azure DevOps work item with the Sleekplan tag and a comment in its Discussion linking back to the Sleekplan post" width="1766" height="1062" data-path="images/integrations-azure-devops-work-item-backlink.png" />

## Keep statuses in sync

Status sync maps each Azure DevOps state to a Sleekplan [status](/help/feedback/statuses). Once mapped, a status change on one side updates the other for any linked post and work item.

<Steps>
  <Step title="Enable sync for a project">
    Open **Manage** on the Azure DevOps row. For each Azure DevOps project you want to sync, turn on **Sync status updates from "{project}"**, then click **Save**. Saving loads that project's available statuses and starts listening for changes in Azure DevOps.
  </Step>

  <Step title="Map each Azure DevOps status to a Sleekplan status">
    A row appears for every state in the enabled projects, grouped by work item type. For each one, pick the Sleekplan status it should map to, or leave it as **None** to ignore that state. Click **Save** when you're done.
  </Step>

  <Step title="Turn on two-way sync (optional)">
    By default, status changes flow from Azure DevOps into Sleekplan. To also push Sleekplan status changes back to the linked work item, turn on **Enable two-way sync for status updates** and click **Save**.
  </Step>
</Steps>

How the two directions work:

* **Azure DevOps to Sleekplan.** When a linked work item changes to a state you mapped, the Sleekplan post moves to the matching status.
* **Sleekplan to Azure DevOps** (two-way sync on). When you change a linked post's status, the work item's state changes to the mapped Azure DevOps state.

<Warning>
  With two-way sync on, avoid mapping two different Azure DevOps states to the same Sleekplan status within one project and work item type. When a Sleekplan status change is ambiguous, Sleekplan skips the update rather than guessing which state to set.
</Warning>

## Disconnect Azure DevOps

To stop syncing, open **Manage** on the Azure DevOps row and click **Disconnect**. This removes the connection and the webhooks Sleekplan created in Azure DevOps, so status changes no longer sync. Work items you already created stay in Azure DevOps.

## Related

<CardGroup cols={2}>
  <Card title="Feedback statuses" icon="signal" href="/help/feedback/statuses">
    Set up the Sleekplan statuses you map Azure DevOps states to.
  </Card>

  <Card title="Create a feedback post" icon="plus" href="/help/feedback/create-post">
    Where you link and create Azure DevOps work items.
  </Card>
</CardGroup>
