Skip to content

Get GitHubCommitIssue

Apostolis Bekiaris edited this page Apr 22, 2020 · 7 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-GitHubCommitIssue

SYNOPSIS

Lists all GitHub issues that related to a commit.

SYNTAX

Owner

Get-GitHubCommitIssue -Repository1 <String> -Repository2 <String> [-Branch <String>] [-Since <DateTimeOffset>]
 [-Until <DateTimeOffset>] [-ItemStateFilter <ItemStateFilter>] -Owner <String> -Organization <String>
 -Pass <String> [<CommonParameters>]

Token

Get-GitHubCommitIssue -Repository1 <String> -Repository2 <String> [-Branch <String>] [-Since <DateTimeOffset>]
 [-Until <DateTimeOffset>] [-ItemStateFilter <ItemStateFilter>] -Organization <String> -Token <String>
 [<CommonParameters>]

DESCRIPTION

It searches all open issues and links them to commits since the last release.

EXAMPLES

Example 1

PS C:\> $commitArgs = @{
        Repository1 = "eXpand"
        Repository2 = "eXpand.Lab"
        Branch      = "18.2"
    } + $cred
    Get-GitHubCommitIssue @commitArgs

Will match all eXpand issues since the latest release to all commits from the 18.2 branch of the eXpand.lab repository. The result can be used with the Checkpoint-GitHubIssue method.

PARAMETERS

-Branch

Search the commits of this Branch.

Type: String
Parameter Sets: (All)
Aliases:

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

-ItemStateFilter

Issue Filter

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

-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

-Repository1

Search the issues of this repository.

Type: String
Parameter Sets: (All)
Aliases:

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

-Repository2

Search the commits of this repository.

Type: String
Parameter Sets: (All)
Aliases:

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

-Since

Get all commits since this value.

Type: DateTimeOffset
Parameter Sets: (All)
Aliases:

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

-Until

{{ Fill Until Description }}

Type: DateTimeOffset
Parameter Sets: (All)
Aliases:

Required: False
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

XpandPwsh.Cmdlets.GitHub.GetGitHubCommitIssue.ICommitIssues

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