< Back
Update-AzureDevOpsRemainingWork
Post
NAME Update-AzureDevOpsRemainingWork
SYNOPSIS
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.
SYNTAX
Update-AzureDevOpsRemainingWork [[-Description] <String>] [-Id] <Int64> [-WorkCompletedThisSession] <String[]>
[<CommonParameters>]
DESCRIPTION
PARAMETERS
-Description <String>
A description of the work you performed. What you supply here will be added as a comment on the work item.
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Id <Int64>
The Id number of the work item you want to update your remaining work value on.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WorkCompletedThisSession <String[]>
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.
Required? true
Position? 2
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
-------------------------- Example 1 --------------------------
Update-AzureDevOpsRemainingWork -Id 123456 -WorkCompletedThisSession "00:30:00"
Adding 30 minutes of compleated work to work item 123456
-------------------------- Example 2 --------------------------
Update-AzureDevOpsRemainingWork -Id 123456 -WorkCompletedThisSession "00:30:00","01:15:00","04:03:00"
Updating the compleated work and remaining work fields for task 123456 to include an additional 5 hours and 48
minutes of work.
-------------------------- Example 3 --------------------------
Update-AzureDevOpsRemainingWork -Id 123456 -WorkCompletedThisSession "00:30:00","01:15:00","04:03:00" -Description
"Fixing bug# 132456"
Updating the compleated work and remaining work fields for task 123456 to include an additional 5 hours and 48
minutes of work and including a comment.
RELATED LINKS
Online Documentation http://devopsmodule.utmonline.net/docs/ ... iningwork/
SYNOPSIS
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.
SYNTAX
Update-AzureDevOpsRemainingWork [[-Description] <String>] [-Id] <Int64> [-WorkCompletedThisSession] <String[]>
[<CommonParameters>]
DESCRIPTION
PARAMETERS
-Description <String>
A description of the work you performed. What you supply here will be added as a comment on the work item.
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Id <Int64>
The Id number of the work item you want to update your remaining work value on.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WorkCompletedThisSession <String[]>
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.
Required? true
Position? 2
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
-------------------------- Example 1 --------------------------
Update-AzureDevOpsRemainingWork -Id 123456 -WorkCompletedThisSession "00:30:00"
Adding 30 minutes of compleated work to work item 123456
-------------------------- Example 2 --------------------------
Update-AzureDevOpsRemainingWork -Id 123456 -WorkCompletedThisSession "00:30:00","01:15:00","04:03:00"
Updating the compleated work and remaining work fields for task 123456 to include an additional 5 hours and 48
minutes of work.
-------------------------- Example 3 --------------------------
Update-AzureDevOpsRemainingWork -Id 123456 -WorkCompletedThisSession "00:30:00","01:15:00","04:03:00" -Description
"Fixing bug# 132456"
Updating the compleated work and remaining work fields for task 123456 to include an additional 5 hours and 48
minutes of work and including a comment.
RELATED LINKS
Online Documentation http://devopsmodule.utmonline.net/docs/ ... iningwork/