< Back

New-DevOpsWorkItem

Sat Jan 18, 2020 9:36 am

NAME New-DevOpsWorkItem



SYNOPSIS

Create a new work item





SYNTAX

New-DevOpsWorkItem [-Connection] <Hashtable> [-Collection <String>] -Project <String> -WorkItemType <String>

-Values <Hashtable> [<CommonParameters>]





DESCRIPTION

Create a new work item





PARAMETERS

-Collection <String>

Specifies the TFS collection name.



Required? false

Position? named

Default value

Accept pipeline input? False

Accept wildcard characters? false



-Project <String>

Specifies the project name.



Required? true

Position? named

Default value

Accept pipeline input? False

Accept wildcard characters? false



-WorkItemType <String>

Specifies the work item type.



Required? true

Position? named

Default value

Accept pipeline input? False

Accept wildcard characters? false



-Values <Hashtable>

Specifies the field values to assign to the work item.



Required? true

Position? named

Default value

Accept pipeline input? False

Accept wildcard characters? false



-Connection <Hashtable>

Specifies connection information.



Required? true

Position? 0

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

System.Int32

The ID of the new work item.







RELATED LINKS