< Back
Group-GitHubIssue
Post
NAME Group-GitHubIssue
SYNOPSIS
Groups the provided issues based on the specified grouping criteria.
SYNTAX
Group-GitHubIssue -Issue <PSObject[]> -Weeks <Int32> [-DateType <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Groups the provided issues based on the specified grouping criteria.
Currently able to group Issues by week.
The Git repo for this module can be found here: http://aka.ms/PowerShellForGitHub
PARAMETERS
-Issue <PSObject[]>
The Issue(s) to be grouped.
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Weeks <Int32>
The number of weeks to group the Issues by.
Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-DateType <String>
The date property that should be inspected when determining which week grouping the issue
if part of.
Required? false
Position? named
Default value Created
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
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
[PSCustomObject[]] Collection of issues and counts, by week, along with the total count of issues.
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$issues = @()
$issues += Get-GitHubIssue -Uri 'https://github.com/powershell/xpsdesire ... figuration'
$issues += Get-GitHubIssue -Uri 'https://github.com/powershell/xactivedirectory'
$issues | Group-GitHubIssue -Weeks 12 -DateType Closed
RELATED LINKS
SYNOPSIS
Groups the provided issues based on the specified grouping criteria.
SYNTAX
Group-GitHubIssue -Issue <PSObject[]> -Weeks <Int32> [-DateType <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Groups the provided issues based on the specified grouping criteria.
Currently able to group Issues by week.
The Git repo for this module can be found here: http://aka.ms/PowerShellForGitHub
PARAMETERS
-Issue <PSObject[]>
The Issue(s) to be grouped.
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Weeks <Int32>
The number of weeks to group the Issues by.
Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-DateType <String>
The date property that should be inspected when determining which week grouping the issue
if part of.
Required? false
Position? named
Default value Created
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
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
[PSCustomObject[]] Collection of issues and counts, by week, along with the total count of issues.
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$issues = @()
$issues += Get-GitHubIssue -Uri 'https://github.com/powershell/xpsdesire ... figuration'
$issues += Get-GitHubIssue -Uri 'https://github.com/powershell/xactivedirectory'
$issues | Group-GitHubIssue -Weeks 12 -DateType Closed
RELATED LINKS