TfsCmdlets
TfsCmdlets copied to clipboard
Error "Get-TfsWorkItem : Value cannot be null. Parameter name: values" when specifying -Fields '*'
I'm curious about Get-TfsWorkItem and the -Fields property. The documentation says to specify a '*' to return all fields. Any ideas?
Get-TfsWorkItem -AreaPath $areaPath -WorkItemType "User Story" -Fields "*"
Get-TfsWorkItem : Value cannot be null. Parameter name: values At line:1 char:1
- Get-TfsWorkItem -AreaPath $areaPath -WorkItemType "User Story" -F ...
-
+ CategoryInfo : NotSpecified: (:) [Get-TfsWorkItem], ArgumentNullException + FullyQualifiedErrorId : ArgumentNullException,TfsCmdlets.Cmdlets.WorkItem.GetWorkItem
Originally posted by @sbrassard in https://github.com/igoravl/TfsCmdlets/discussions/183#discussioncomment-5102336
I have the same issue, seems that wildcard is not work correctly or i m using it in a wrong way.
I obtain alwasy: Get-TfsWorkItem: Value cannot be null. (Parameter 'values')
I found a workaround, is not a beauty solution but works.
Fixed in #214. Release available at https://github.com/igoravl/TfsCmdlets/releases/tag/v2.6.1%2B3491.1