wit_get_work_item
Retrieve a specific work item by ID from Azure DevOps with optional field selection, historical state, or expanded relations using PAT authentication.
Instructions
Get a single work item by ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asOf | No | Optional date string to retrieve the work item as of a specific time. If not provided, the current state will be returned. | |
| expand | No | Expand options include 'all', 'fields', 'links', 'none', and 'relations'. Relations can be used to get child workitems. Defaults to 'none'. | |
| fields | No | Optional list of fields to include in the response. If not provided, all fields will be returned. | |
| id | Yes | The ID of the work item to retrieve. | |
| project | Yes | The name or ID of the Azure DevOps project. |