---
title: "Track work in Azure DevOps or GitHub"
type: how-to
kind: how-to
documentedFor: "1.14.0"
updated: "2026-10-30"
canonical: "https://arcaneai.net/docs/how-to/track-work-in-ado-or-github"
---

# Track work in Azure DevOps or GitHub

Tell Arcane which tracker holds your work, so `spell-plan` asks for the work item or issue and records it with each PRD.

## Prerequisites

- A git repository with Arcane installed and everything committed. `spell update` refuses to run over uncommitted changes.
- A project in Azure DevOps, or the repository on GitHub. For Azure DevOps, the Azure CLI (`az`) signed in: the planning spell uses it to read the project and its work items.

## Steps

1. Record the tracker. In a repository that already runs Arcane, answer the tracking question with flags; use `ado` for Azure DevOps or `github` for GitHub.

   ```arcane
   spell update --tracking-mode external --external-provider github
   ```

   ```text
   Recorded from flags:
       tracking_mode: "external"
       external_provider: "github"
   ```

   A flag answers the question only while it has no answer: if `.arcane.json` already records a tracking mode, edit it there instead. In a new repository, pass the same flags to `spell init`, for example `spell init --profile full --tracking-mode external --external-provider ado`.

2. Commit the change to `.arcane.json`.

   ```bash
   git add .arcane.json
   git commit -m "Track work in GitHub"
   ```

3. Plan your next feature in your AI client.

   ```arcane
   /spell-plan
   ```

   With Azure DevOps it requires the work item id, records it as `adoWorkItemId` in the PRD's `tracking` block, and names the folder after it, as in `features/133-<slug>/PRD.md`. With GitHub an issue number is optional, recorded as `githubIssueId` when you give one.

## Verify it worked

The tracker is recorded in `.arcane.json`.

```bash
grep -E '"(tracking_mode|external_provider)"' .arcane.json
```

```text
  "tracking_mode": "external",
  "external_provider": "github"
```

After step 3, the new PRD's `tracking` block carries the work item id or issue number you gave.

> [!NOTE]
> With `jira` or `other`, Arcane records the provider and keeps planning in the repository; the PRD gets a note that tracker automation is pending.

## Related

- The tracking options: [`spell init`](/docs/reference/cli-init) and [`spell update`](/docs/reference/cli-update).
- What the planning spell asks and writes: [`spell-plan`](/docs/reference/spell-plan).
