Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 1.74 KB

2.0.0-rc.4.md

File metadata and controls

27 lines (17 loc) · 1.74 KB

TfsCmdlets Release Notes

Version 2.0.0-rc.4 (05/Apr/2021)

Improve work item link support.

Improvements

  • Get Work Item by URL: Now Get-TfsWorkItem can receive a URL to a work item (in the form of https://dev.azure.com/<org>/<proj>/_apis/wit/workItems/<id>) as a parameter. This way, APIs that return URLs to work items (such as work item links) can be easily "rehydrated" by simply supplying the returned URL to Get-TfsWorkItem.
  • Add filter by well-known link types (8a487b9): Now Get-TfsWorkItemLink has a LinkType argument, to retrieve only the links of the specified type.
  • Add format to WorkItemRelation (4b10ae4): Objects of type WorkItemRelation are now properly formatted when outputted - added to support Get-TfsWorkItemLink.

Fixes

  • Fix bug in parameter override logic (fdba69a)
  • Fix StructureGroup value in New-TfsIteration (f18609e)

BREAKING CHANGES

The pipeline input parameter for Get-TfsWorkItem has changed from Project to WorkItem. Scripts that rely on piping projects to Get-TfsWorkItem will stop working.

This change was made to better support scenarios such as retrieving the work items referenced by the links returned by Get-TfsWorkItemLink. A typical usage would be:

# Gets the parent of work item #123
Get-TfsWorkItemLink -WorkItem 123 -LinkType Parent | Get-TfsWorkItem