< Back

Set-DevOpsWorkItem

Sat Jan 18, 2020 9:36 am

NAME Set-DevOpsWorkItem



SYNOPSIS

Updates one or more fields of a work item.





SYNTAX

Set-DevOpsWorkItem [-Connection] <Hashtable> -WorkItemId <Int32[]> [-Collection <String>] -Values <Hashtable>

[<CommonParameters>]





DESCRIPTION

Update a work item





PARAMETERS

-Collection <String>

Specifies the TFS collection name.



Required? false

Position? named

Default value

Accept pipeline input? False

Accept wildcard characters? false



-WorkItemId <Int32[]>

Specifies the ID of work item to update.



Required? true

Position? named

Default value

Accept pipeline input? True (ByPropertyName, ByValue)

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

Int32

You can pipe integers, which represent work item identifiers, to this cmdlet.





OUTPUTS





RELATED LINKS