< Back

Get-AzureDevOpsWorkItemFields

Sat Jan 11, 2020 10:26 am

NAME Get-AzureDevOpsWorkItemFields



SYNOPSIS

Retrieves a list of all fields in the project used in **All** work item types.





SYNTAX

Get-AzureDevOpsWorkItemFields [-FieldName <String>] [<CommonParameters>]





DESCRIPTION







PARAMETERS

-FieldName <String>

The fields name as it appears in the UI or its reference type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS









OUTPUTS









NOTES





This cmdlet is really useful for writing your own scripts that wrap arround the cmdlets in this moduel for

workflow automation. It will provide you all the information you need on properly addressing fields with

regards to work items in ADO.



-------------------------- Example 1 --------------------------



Get-AzureDevOpsWorkItemFields



Getting all fields







Name : Time Criticality

ReferenceName : Microsoft.VSTS.Common.TimeCriticality

Description : How does the business value decay over time. Higher values make the epic more time critical

Type : Double

Usage : WorkItem

ReadOnly : False

SupportedOperations : {=, <>, >, <...}

IsIdentity : False

IsPicklist : False

IsPicklistSuggested : False

Links :

Url : https://dev.azure.com/Contoso/9f6950a2- ... /Microsoft

.VSTS.Common.TimeCriticality

NamespaceId : 00000000-0000-0000-0000-000000000000

RequiredPermissions : 0



Name : Title

ReferenceName : System.Title

Description : Stories affected and how

Type : String

Usage : WorkItem

ReadOnly : False

SupportedOperations : {=, <>, >, <...}

IsIdentity : False

IsPicklist : False

IsPicklistSuggested : False

Links :

Url :

https://dev.azure.com/Contoso/9f6950a2- ... stem.Title

NamespaceId : 00000000-0000-0000-0000-000000000000

RequiredPermissions : 0



Name : Value Area

ReferenceName : Microsoft.VSTS.Common.ValueArea

Description : The type should be set to Business primarily to represent customer-facing issues. Work to

change the architecture should be added as a User Story

Type : String

Usage : WorkItem

ReadOnly : False

SupportedOperations : {=, <>, >, <...}

IsIdentity : False

IsPicklist : False

IsPicklistSuggested : False

Links :

Url :

https://dev.azure.com/Contoso/9f6950a2- ... .ValueArea

NamespaceId : 00000000-0000-0000-0000-000000000000

RequiredPermissions : 0



-------------------------- Example 2 --------------------------



Get-AzureDevOpsWorkItemFields -FieldName "System.Watermark"



Getting field data for the System.Watermark field







Name : Watermark

ReferenceName : System.Watermark

Description :

Type : Integer

Usage : WorkItem

ReadOnly : True

SupportedOperations : {=, <>, >, <...}

IsIdentity : False

IsPicklist : False

IsPicklistSuggested : False

Links :

Url :

https://dev.azure.com/Contoso/9f6950a2- ... .Watermark

NamespaceId : 00000000-0000-0000-0000-000000000000

RequiredPermissions : 0





RELATED LINKS

Online Documentation http://devopsmodules.utmonline.net/docs ... temfields/