Skip to content

Get GitHubIssue

Apostolis Bekiaris edited this page Apr 22, 2020 · 8 revisions

external help file: XpandPwsh.Cmdlets.dll-Help.xml Module Name: XpandPwsh online version: https://go.microsoft.com/fwlink/?LinkID=2097043 schema: 2.0.0

Get-GitHubIssue

SYNOPSIS

List Github issues for a repository.

SYNTAX

Owner

Get-GitHubIssue -Repository <String> [-Since <DateTimeOffset>] [-IssueFilter <IssueFilter>]
 [-State <ItemStateFilter>] [-IssueNumber <Int32>] [-Labels <String[]>] [-Assignee <String>] -Owner <String>
 -Organization <String> -Pass <String> [<CommonParameters>]

Token

Get-GitHubIssue -Repository <String> [-Since <DateTimeOffset>] [-IssueFilter <IssueFilter>]
 [-State <ItemStateFilter>] [-IssueNumber <Int32>] [-Labels <String[]>] [-Assignee <String>]
 -Organization <String> -Token <String> [<CommonParameters>]

DESCRIPTION

With the use of several parameters like Since, IssueFilter, Repository this cmdlet returns a list of GitHub issues.

EXAMPLES

Example 1

PS C:\> $iArgs = @{
    Repository = "eXpand"
} + $cred
Get-GitHubIssue @iArgs

Returns all open issues for the eXpand repository.

PARAMETERS

-Assignee

{{ Fill Assignee Description }}

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-IssueFilter

{{ Fill IssueFilter Description }}

Type: IssueFilter
Parameter Sets: (All)
Aliases:
Accepted values: Assigned, Created, Mentioned, Subscribed, All

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-IssueNumber

{{ Fill IssueNumber Description }}

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Labels

{{ Fill Labels Description }}

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Organization

{{ Fill Organization Description }}

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Owner

{{ Fill Owner Description }}

Type: String
Parameter Sets: Owner
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Pass

{{ Fill Pass Description }}

Type: String
Parameter Sets: Owner
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Repository

{{ Fill Repository Description }}

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Since

{{ Fill Since Description }}

Type: DateTimeOffset
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-State

{{ Fill State Description }}

Type: ItemStateFilter
Parameter Sets: (All)
Aliases:
Accepted values: Open, Closed, All

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Token

{{ Fill Token Description }}

Type: String
Parameter Sets: Token
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

System.Object

NOTES

RELATED LINKS

image

image


Star the project if you think it deserves it.

GitHub stars

Fork the project to extend and contribute.

GitHub forks

Clone this wiki locally