get-work-item-details

Retrieve Azure DevOps work item details with comments, history, and relationships.

3|Updated Feb 11, 2022
One-click install
npx skills add https://github.com/marcusshepp/useful --skill get-work-item-details
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: get-work-item-details
Source: https://github.com/marcusshepp/useful/tree/main/network/.github/skills/get-work-item-details
Command: npx skills add https://github.com/marcusshepp/useful --skill get-work-item-details

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Retrieve full details of Azure DevOps work items, including comments, history, and related items, when you need complete information quickly.

Core Features & Use Cases

  • Get item details by ID with optional relation expansion
  • Retrieve comments, history, and related items in a single request
  • Use cases: auditing item changes, debugging workflows, preparing reports

Quick Start

Use Get-WorkItem to fetch details for one or more IDs and optionally expand relations.

Frequently Asked Questions about get-work-item-details

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get full Azure DevOps work item details including comments and history?

You can retrieve Azure DevOps work item details, including comments and history, by using Get-WorkItem to fetch data by ID and optionally expanding relations to retrieve related items in a single request.

What's the best way to retrieve an audit trail for a specific work item in Azure DevOps?

Retrieving an audit trail for a specific Azure DevOps work item requires fetching its complete history and comments, consolidating change logs and audit data to support debugging workflows and impact analysis.

Do I need to initialize Azure DevOps before fetching work item relationships?

Yes, you must run Initialize-AzureDevOps before fetching work item relationships, as this prerequisite environment setup authenticates the session and enables Get-WorkItem, Get-WorkItemComments, and Get-WorkItemHistory requests.

Can I retrieve comments, history, and related items for multiple work item IDs in one request?

Yes, you can retrieve comments, history, and related items for multiple IDs in one request by passing them to Get-WorkItem and applying optional relation expansion to gather comprehensive ticket information efficiently.

How does expanding relations help with impact analysis for Azure DevOps work items?

Expanding relations aids impact analysis for Azure DevOps work items by fetching related items alongside primary ticket details, allowing you to map dependencies and assess the full scope of changes across the project.