GitHub CLI でサブ課題・タイプ・依存関係を管理可能に
GitHub が CLI ツール「gh」のバージョン 2.94.0 をリリースし、ターミナルから課題の階層構造やタイプ、依存関係を直接操作できる機能を追加した。これにより開発者やコーディングエージェントはブラウザを介さずに作業を追跡・構造化できるようになった。
GitHub CLI は、ターミナルから直接、イシューの種類や親・子イシューの関係、およびイシューの依存関係を公開するようになりました。これは、ブラウザに切り替えたり、生の gh api スクリプトを書いたりすることなく、作業を構造化して追跡できることを意味します。これらはまさに、開発者ならびに GitHub へのインターフェースとして gh にますます依存しているコーディングエージェントが毎日実行するワークフローそのものです。
gh issue の高度なイシュー機能
v2.94.0 以降、gh から直接、イシューの階層構造、種類、および依存関係を扱えるようになりました:
イシューの種類:作成時または編集時に種類を設定し、gh issue list で種類ごとにフィルタリングできます。
サブイシュー:--parent、--set-parent、--remove-parent を使用して、親とのリンク、変更、または削除が可能です。
イシューの依存関係:新しい --blocked-by および --blocking フラグ、およびそれらの --add-* と --remove-* バリアントを使用して、ブロックされている関係とブロックしている関係をマークできます。
gh issue view および gh issue list はまた、親、サブイシュー、種類、依存関係データを新しい JSON フィールドとして公開するため、自動化スクリプトが信頼性を持ってイシュー構造を読み取り、アクションを実行できるようになります。
GitHub CLI v2.94.0 以降のユーザーは、これらの機能が利用可能なあらゆるリポジトリで、新しい階層構造および依存関係サポートを利用できます。イシューの種類は組織レベルで設定されるため、種類をサポートする機能は、種類を定義した組織内のイシューに適用されます。
すぐに始めたい場合は、今日 GitHub CLI v2.94.0 にインストールまたはアップグレードしてください。
フィードバックがある場合や問題が見つかった場合は、cli/cli リポジトリにイシューを開いてください。
Manage sub-issues, types, and dependencies from GitHub CLI という記事は、The GitHub Blog で最初に公開されました。
原文を表示
GitHub CLI now exposes issue types, parent and sub-issue relationships, and issue dependencies directly from the terminal. This means you can structure and track work without dropping into the browser or writing raw gh api scripts. These are exactly the workflows that both developers, and the coding agents that increasingly rely on gh as their interface to GitHub, run every day.
Advanced issue features in gh issue
As of v2.94.0, you can now work with issue hierarchy, types, and dependencies directly from gh:
Issue types: Set a type on create or edit, and filter by type in gh issue list.
Sub-issues: Link, change, or remove a parent with --parent, --set-parent, and --remove-parent.
Issue dependencies: Mark blocked-by and blocking relationships with the new --blocked-by and --blocking flags, plus their --add-* and --remove-* variants.
gh issue view and gh issue list also expose parent, sub-issue, type, and dependency data as new JSON fields, so your automation can read and act on issue structure reliably.
Anyone on GitHub CLI v2.94.0 or later can use the new hierarchy and dependency support in any repository where those features are available. Issue types are configured at the organization level, so type support applies to issues in organizations that have defined them.
Install or upgrade to GitHub CLI v2.94.0 today to get started.
Have feedback or found an issue? Open an issue in the cli/cli repository.
The post Manage sub-issues, types, and dependencies from GitHub CLI appeared first on The GitHub Blog.
関連記事
今日のまとめ
AI日報で今日の重要ニュースをまとめ読み