ENGLISH | 日本語
Azure DevOps Extension EN
Note This extension is under development.
A VS Code extension to interact with Azure DevOps from the sidebar.

Key Features
- Browse organizations, projects, sprints, work items, and repositories in the sidebar
- View work items in a parent-child hierarchy (Epic → Feature → Story → Task) with filter support
- Clone repositories with automatic PAT embedding
- View branches and pull requests per repository with filter support
- View pipeline run history per repository with filter support (All / Running / Failed / Succeeded)
- Create a pull request from a branch with source branch pre-filled
- Send work items to GitHub Copilot Chat
- Create branches for work items automatically from the tree view
- Assign or unassign work items directly from the tree view
- Type
AB# or ab# in the git commit message input to pick a work item from Azure Boards
- PAT is stored securely in VS Code Secret Storage
Installation
- Open Extensions in VS Code (Ctrl+Shift+X)
- Search for "Azure DevOps Extension" and click Install
Setup
Step 1: Get a PAT
- Go to dev.azure.com
- User settings > Personal access tokens > New Token
- Select the following scopes:
- Project and Team (Read)
- Work Items (Read&Write)
- Code (Read)
- Build (Read)
- Copy the token
Step 2: Add an Organization
- Click the Azure DevOps Extension icon in the VS Code sidebar
- Click the
+ icon at the top of the panel
- Enter your organization name and PAT
Usage
- Expand an organization to see its Projects
- Each Project contains:
- Boards: work items in each sprint
- Repos: Git repositories
- Each Repository contains:
- Branches: branch list
- Pull Requests: PR list with filter
- Pipelines: pipeline run history with filter
- Right-click any node to perform actions
View Work Items
- Expand Sprints and select a sprint
- Work items are displayed in a parent-child hierarchy
- Each work item label is shown as
[Type] #ID Title (for example, [Epic] [#123](https://github.com/taizod1024/vscode-ado-extension/issues/123) Login)
- Right-click the filter icon to change the view:
- all: show everything
- assigned: items assigned to you
- myactivity: items you created or edited
- active: incomplete items
- Click the refresh icon on the sprint to reload
Create Work Items
- Open the Azure DevOps web UI from the Sprints page (
Open Sprints icon) to create Epic / Issue / Task.
View Pull Requests
- Expand Pull Requests under a repository
- Right-click the filter icon to change the view:
- mine: PRs you created
- active: open PRs
- completed: merged PRs
- abandoned: abandoned PRs
- Click the refresh icon on the PR list to reload
View Pipeline Runs
- Expand Pipelines under a repository
- The view loads runs from pipeline definitions linked to that repository
- If repository linkage cannot be resolved, a same-name pipeline is used as fallback
- The list shows up to the latest 50 runs
- If 50 runs are shown, an "over 50 (showing latest 50)" info row is displayed at the end
- Right-click the filter icon to change the view:
- all: show all runs
- running: in-progress runs
- failed: failed / partially succeeded runs
- succeeded: successful runs
- Click the refresh icon on the pipeline list to reload
Repository Operations
- Expand Repositories to view repos
- Repositories are listed in ascending order by repository name
- Click the icon buttons next to the repo to:
- Open URL: open the Web UI in the integrated browser
- Clone Repository: clone locally (PAT is embedded automatically)
- Open Git Graph: open Git Graph for the locally cloned repository
- Expand Branches to view the branch list
- Click the refresh icon on Branches to reload
- Click the
$(git-pull-request) icon on a branch to open the PR creation page with the source branch pre-filled
Refresh the Tree
- Click the refresh icon next to the organization node.
Work Item Assignment
- Right-click a work item and select Assign to me to assign it to yourself
- Right-click a work item and select Unassign to remove the assignee
Link Work Items in Commit Messages
- Open the Source Control panel and start typing a commit message
- Type
AB# or ab# to trigger the work item picker
- Select a work item — the ID and title are inserted in
AB#id:title format
Commands
| Command |
Description |
| Add Organization |
Add an organization |
| Enter PAT for Org |
Re-enter PAT for a specific org |
| Remove Organization |
Remove an organization |
| Remove All Organizations |
Remove all organizations |
| Open Sprints |
Open the sprints page in the browser |
| Create Pull Request |
Open PR creation page with source branch |
| Clone Repository |
Clone a repository |
| Open Git Graph |
Open Git Graph for the repository |
| Refresh Node |
Refresh the tree |
| Refresh Branches |
Refresh the branch list |
| Refresh PR Items |
Refresh pull request list (keep filter) |
| Refresh Pipelines |
Refresh pipeline run list (keep filter) |
| Open Work Items |
Open the work items list |
| Open URL |
Open in the integrated browser |
| Send Work Item to Copilot |
Send a work item to GitHub Copilot |
| Create Branch for Work Item |
Create/checkout a branch for a work item |
| Assign to me |
Assign a work item to yourself |
| Unassign |
Remove the assignee from a work item |
| Open Settings |
Open extension settings |
Troubleshooting
Check Logs
- Open View > Output
- Select "Azure DevOps Extension" from the dropdown
- Review API call and error logs
PAT Error
- Error: "Authentication failed. The PAT is invalid or has expired."
- Fix: Right-click the organization node and select "Enter PAT for Org" to re-enter the PAT
- The output log shows a masked value of the current PAT (first 4 chars only), removes the old PAT, then validates the new PAT
Repositories Not Shown
- Fetching sprint data may take a moment
- Run "Refresh Node" to reload
Security
- PAT is encrypted and stored in VS Code Secret Storage
- PAT is never written to logs (only the hostname is logged)
- When cloning, the PAT is passed to git and is not stored locally
Detailed Specification
See .github/APP_SPEC.md for the full specification.
Azure DevOps Extension JP
注意 この拡張機能は開発中です。
VS Code から Azure DevOps を操作する拡張機能です。

主要機能
- サイドバーで組織・プロジェクト・スプリント・ワークアイテム・リポジトリを参照
- ワークアイテムを親子階層(Epic → Feature → Story → Task)でフィルタ付きで表示
- PAT 自動埋め込みでリポジトリをクローン
- リポジトリごとのブランチ・PR をフィルタ付きで表示
- リポジトリごとのパイプライン実行履歴をフィルタ付きで表示(All / Running / Failed / Succeeded)
- ブランチからソースブランチ自動入力で PR 作成ページを開く
- ワークアイテムを GitHub Copilot Chat に送信
- ツリービューからワークアイテムに対応するブランチを自動作成
- ツリービューからワークアイテムを自分にアサイン・アサイン解除
- git コミットメッセージ入力欄で
AB# または ab# と入力して Azure Boards のワークアイテムを選択
- PAT は VS Code の Secret Storage に安全に保存
インストール
- VS Code の Extensions を開く(Ctrl+Shift+X)
- "Azure DevOps Extension" を検索して Install
セットアップ
ステップ 1: PAT を取得
- dev.azure.com にアクセス
- User settings > Personal access tokens > New Token
- 以下のスコープを選択:
- Project and Team (Read)
- Work Items (Read&Write)
- Code (Read)
- Build (Read)
- トークンをコピー
ステップ 2: 組織を追加
- VS Code のサイドバーで Azure DevOps Extension のアイコンをクリック
- パネル上部の
+ アイコンをクリック
- 組織名と PAT を入力
使い方
サイドバーで参照
- Organizations を展開すると、Projects が表示される
- 各 Project の下に以下が表示される:
- Boards: スプリント内のワークアイテム
- Repos: Git リポジトリ
- 各 Repository の下に以下が表示される:
- Branches: ブランチ一覧
- Pull Requests: PR 一覧(フィルタ付き)
- Pipelines: パイプライン実行履歴(フィルタ付き)
- 各ノードを右クリックしてアクション実行
ワークアイテム参照
- Sprints を展開して目的のスプリントを選択
- ワークアイテムが親子階層で表示される
- 各ワークアイテムは
[種別] #ID タイトル 形式で表示される(例: [Epic] [#123](https://github.com/taizod1024/vscode-ado-extension/issues/123) Login)
- フィルタアイコンを右クリックして表示内容を変更:
- all: すべて表示
- assigned: 自分に割り当てられたアイテム
- myactivity: 自分が作成・編集したアイテム
- active: 完了していないアイテム
- スプリントのリフレッシュアイコンをクリックして再表示
ワークアイテム作成
- Sprints ページ(
Open Sprints アイコン)から Azure DevOps の Web UI を開いて Epic / Issue / Task を作成
Pull Request 参照
- Repository の下の Pull Requests を展開
- フィルタアイコンを右クリックして表示内容を変更:
- mine: 自分が作成した PR
- active: オープンしている PR
- completed: マージ済み PR
- abandoned: 破棄された PR
- PRのリフレッシュアイコンをクリックして再表示
パイプライン実行履歴参照
- Repository の下の Pipelines を展開
- 対象リポジトリに紐づくパイプライン定義の実行履歴を表示
- リポジトリ紐づけが解決できない場合のみ、同名パイプライン定義をフォールバックとして使用
- 実行履歴は新しい順で最大 50 件を表示
- 50 件に達した場合は末尾に「over 50 (showing latest 50)」案内行を表示
- フィルタアイコンを右クリックして表示内容を変更:
- all: すべての実行を表示
- running: 実行中
- failed: 失敗・部分成功
- succeeded: 成功
- リフレッシュアイコンをクリックして再表示
リポジトリ操作
- Repositories を展開してリポジトリを表示
- リポジトリ名の昇順で表示される
- リポジトリ横のアイコンをクリックして以下を実行:
- Open URL: Web UI をブラウザで開く
- Clone Repository: ローカルにクローン(PAT 自動埋め込み)
- Open Git Graph: ローカルにクローン済みのリポジトリの Git Graph を開く
- Branches を展開してブランチ一覧を表示
- Branches のリフレッシュアイコンをクリックして再表示
- ブランチの
$(git-pull-request) アイコンをクリックするとソースブランチが自動入力された PR 作成ページを開く
ツリーをリフレッシュ
ワークアイテムのアサイン
- ワークアイテムを右クリックして Assign to me を選択すると、自分にアサインされる
- ワークアイテムを右クリックして Unassign を選択すると、担当者が解除される
コミットメッセージでワークアイテムを参照
- ソース管理パネルを開いてコミットメッセージの入力を開始
AB# または ab# と入力すると Work Item 候補が表示される
- 候補を選択すると
AB#id:title 形式で挿入される
コマンド一覧
| コマンド |
説明 |
| Add Organization |
組織を追加 |
| Enter PAT for Org |
特定組織の PAT を再入力する |
| Remove Organization |
組織を削除 |
| Remove All Organizations |
すべての組織を削除 |
| Open Sprints |
スプリント管理ページを開く |
| Create Pull Request |
ソースブランチ自動入力で PR 作成ページを開く |
| Clone Repository |
リポジトリをクローン |
| Open Git Graph |
リポジトリの Git Graph を開く |
| Refresh Node |
ツリーをリフレッシュ |
| Refresh Branches |
ブランチ一覧を再読み込み |
| Refresh PR Items |
PR 一覧を再読み込み(フィルタ維持) |
| Refresh Pipelines |
パイプライン実行履歴を再読み込み(フィルタ維持) |
| Open Work Items |
ワークアイテム一覧を表示 |
| Open URL |
Web UI をブラウザで開く |
| Send Work Item to Copilot |
ワークアイテムを GitHub Copilot に送信 |
| Create Branch for Work Item |
ワークアイテムのブランチを作成/チェックアウト |
| Assign to me |
ワークアイテムを自分にアサイン |
| Unassign |
ワークアイテムの担当者を解除 |
| Open Settings |
設定を開く |
トラブルシューティング
ログ確認
- View > Output を開く
- ドロップダウンから "Azure DevOps Extension" を選択
- API 呼び出しやエラーのログを確認
PAT エラー
- エラーメッセージ: "Authentication failed. The PAT is invalid or has expired."
- 対応: 組織ノードを右クリックして「Enter PAT for Org」を選択して PAT を再設定
- 実行時は、現行 PAT の先頭 4 文字のみを残したマスク値をログに出力し、旧 PAT を削除してから新 PAT で接続確認する
リポジトリが表示されない
- スプリント情報の取得に時間がかかる場合がある
- 「Refresh Node」を実行して再読み込み
セキュリティ
- PAT は VS Code の Secret Storage に暗号化して保存
- ログには PAT は出力されない(ホスト名のみ)
- リポジトリクローン時、PAT は git に引き渡されローカルに保存されない
詳細仕様
詳しい仕様については .github/APP_SPEC.md を参照
謝辞
Azure devops logo Icon by CoreUI on Icon-Icons.com
| |