Get-exTaskBug
Get all bugs related to a task.
Create-exTaskBugs
-Domain <String>
-TaskId <String>
[-Cookie <String>]
[<CommonParameters>]
Parameters
- Domain:
- The domain where Team site is hosted, teams.company.com.
- TeamId:
- Required Team ID to be used by the cmdlet. See Common Parameters section in this document for more information.
- ChannelId:
- Channel ID to be used by the cmdlet. Retrieve the value for this parameter by right-click on the team site or channel and press “Get Link” command.
- TaskId:
- Task ID to be used by the cmdlet.
- Cookie:
- Optional cookie token to be used to authenticated into Team environment for eTask cmdlets.
- FilterExp:
- Optional filter expression to be used by the cmdlet. See Common Parameters section in this document for more information.
Outputs
Collection of bug objects related to the selected task.
Error
TBS.
Examples
connect to Team instance
$myAccount = "oliver@anadea.com "
Connect-MicrosoftTeams
Write-Host "+ Get-exTasks with Filter for PlaygroundV2/PS_Testing_Tracy"
$myDomain = "teams.appvity.com"
$myTeam = "19:711c68b56d894b2697368214024dc89f@thread.skype"
$myChannel = "19:663f1a565fb248a1a9c2d4b31540d52d@thread.skype"
$myTasks = Get-exTaskBugs -Domain $myDomain -TeamId $myTeam -ChannelId $myChannel - TaskId '5ef9b9f20672c934d0360032'| Format-List _id, name, status, priority, startDate, dueDate
Write-Host "+ Total tasks count:" $myTasks.Count