Update-AzureDevOpsRemainingWork
Syntax
Update-AzureDevOpsRemainingWork
[-Id] <long>
[-WorkCompletedThisSession] <string[]>
[[-Description] <string>]
Description
Takes a time span string as input (the amount of time spent on a task), performs some calculations, and updates the work item with new values for completed and remaining work.
Example
Update-AzureDevOpsRemainingWork -Id 123456 -WorkCompletedThisSession "00:30:00"
Update-AzureDevOpsRemainingWork -Id 123456 -WorkCompletedThisSession "00:30:00","01:15:00","04:03:00"
Update-AzureDevOpsRemainingWork -Id 123456 -WorkCompletedThisSession "00:30:00" -Description "Fixing bug# 132456"
Parameters
-Id
The Id number of the work item you want to update your remaining work value on.
Type: | long |
Position: | Named |
Default Value: | None |
Accept Pipeline Input: | False |
Accept Wildcard Characters: | False |
-WorkCompletedThisSession
This parameter accepts an array of strings that are formatted in the string representation of a time span. Where the first two numbers represent hours, followed by a colon, the second two numbers represent minutes, followed by a colon, and the last two numbers represent seconds. Making this example 01:25:30
represent one hour twenty five minutes and thirty seconds.
Type: | string[] |
Position: | Named |
Default Value: | None |
Accept Pipeline Input: | False |
Accept Wildcard Characters: | False |
-Description
A description of the work you performed. What you supply here will be added as a comment on the work item.
Type: | string |
Position: | Named |
Default Value: | None |
Accept Pipeline Input: | False |
Accept Wildcard Characters: | False |