vsteam icon indicating copy to clipboard operation
vsteam copied to clipboard

add-vsteamworkitem: Not possible to add a 'user story' within an 'Agile' project

Open dirkjanv opened this issue 1 year ago • 0 comments

Steps to reproduce

Just run the _Add-VSTeamWorkItem_ cmdlet with **User Story** as _WorkItemType_ parameter.

Expected behavior

I expected that a new user story will be created.

Just like having a Product backlog item created when you have a Scrum project Within a Scrum project, the add-vsteamworkitem works as expected for creating PBIs Within an Agile project, the add-vsteamworkitem does not work for creating US'

Actual behavior?

I had the following actual outcome... Error: 'Add-VSTeamWorkItem : Cannot validate argument on parameter 'WorkItemType'. 'User Story' is invalid'

On Which OS have you tried it?

Windows

What was your server version?

Azure DevOps Services

Other server version

No response

Log output of used API

Billing                     : 5.1-preview.1
Build                       : 5.1
Core                        : 5.1
DistributedTask             : 6.0-preview
DistributedTaskReleased     : 5.1
ExtensionsManagement        : 6.0-preview
Git                         : 5.1
Graph                       : 6.0-preview
HierarchyQuery              : 5.1-preview
MemberEntitlementManagement : 6.0-preview
Packaging                   : 6.0-preview
Pipelines                   : 5.1-preview
Policy                      : 5.1
Processes                   : 6.0-preview
Release                     : 5.1
ServiceEndpoints            : 5.0-preview
TaskGroups                  : 6.0-preview
Tfvc                        : 5.1
VariableGroups              : 5.1-preview.1
Version                     : VSTS
Wiki                        : 6.0
WorkItemTracking            : 6.0-preview.1

Log output of $PSVersionTable

Name                           Value                                                                                                                                                    
----                           -----                                                                                                                                                    
PSVersion                      5.1.22621.2506                                                                                                                                           
PSEdition                      Desktop                                                                                                                                                  
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                                                                                  
BuildVersion                   10.0.22621.2506                                                                                                                                          
CLRVersion                     4.0.30319.42000                                                                                                                                          
WSManStackVersion              3.0                                                                                                                                                      
PSRemotingProtocolVersion      2.3                                                                                                                                                      
SerializationVersion           1.1.0.1

dirkjanv avatar Jan 31 '24 15:01 dirkjanv