← スキル一覧に戻る

get-work-item-details
by marcusshepp
⭐ 3🍴 0📅 2026年1月7日
SKILL.md
name: get-work-item-details description: Retrieve full details of work items including comments, history, and related items. Use when user wants complete information about specific work items.
Get Work Item Details
Retrieve full details of work items including comments, history, and related items.
When to Use
- User asks about a specific ticket number
- Need complete work item information
- Investigating work item history or changes
- Understanding work item relationships
Prerequisites
- Azure DevOps must be initialized with
Initialize-AzureDevOps
Examples
Get basic details
Get-WorkItem -Ids 12345
Get multiple items
Get-WorkItem -Ids 12345,67890,11111
Get with relationships
Get-WorkItem -Ids 12345 -ExpandRelations
Get comments
Get-WorkItemComments -Id 12345
Get full history
Get-WorkItemHistory -Id 12345
Get everything
$details = Get-WorkItem -Ids 12345 -ExpandRelations
$comments = Get-WorkItemComments -Id 12345
$history = Get-WorkItemHistory -Id 12345
Functions
Get-WorkItem
Retrieves work item details.
Parameters:
- Ids: One or more work item IDs (required)
- ExpandRelations: Include parent/child/related items
Returns: Work item object(s) with all fields
Get-WorkItemComments
Retrieves all comments on a work item.
Parameters:
- Id: Work item ID (required)
Returns: Array of comment objects with text, author, date
Get-WorkItemHistory
Retrieves change history for a work item.
Parameters:
- Id: Work item ID (required)
Returns: Array of history entries showing field changes
Output Fields
Work items include:
- Id, Type, Title, State
- AssignedTo, CreatedBy, ChangedBy
- Created, Changed dates
- Description, AcceptanceCriteria
- Priority, Effort, StoryPoints
- Tags, AreaPath, IterationPath
- WebUrl (link to Azure DevOps)
- Relations (if expanded)
Tips for Copilot
- Start with basic Get-WorkItem, add details as needed
- Use ExpandRelations to see related items
- Comments often have important context
- History helps understand decision-making
- Combine with other commands for analysis
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です