MethodsAndPractices / vsteam

PowerShell module for accessing Azure DevOps Services and Azure DevOps Server (formerly VSTS or TFS)
https://methodsandpractices.github.io/vsteam-docs/
MIT License
445 stars 155 forks source link

Allow Get-VSteamWorkitemType to identify hidden W.I.Ts in projects and get W.I.Ts from Process and expand behaviors, layouts & states #301

Open jhoneill opened 4 years ago

jhoneill commented 4 years ago

When getting WorkItem Types from a project I've found that some of the types returned by calling project/wit/workitemtypes are not types for the project. And the project/wit/workitemtypecategories it is possible to get a list of hidden W.I.Ts.
So it is useful to flag W.I.Ts with Hidden based on this.

It is also helpful to be able to ask "Which WorkItem types are in Scrum projects, which in Basic etc", so it would help if there was an option to the specify a process; a project can still be specified, and if neither is given "default project" will still be assumed.

I've done the work, just creating an issue before a PR :-)