Skip to content

Get GitHubCommitIssue

apobekiaris edited this page May 18, 2019 · 7 revisions

external help file: XpandPosh.Cmdlets.dll-Help.xml Module Name: XpandPosh online version: schema: 2.0.0

Get-GitHubCommitIssue

SYNOPSIS

Lists all GitHub issues that related to a commit.

SYNTAX

Get-GitHubCommitIssue -Repository1 <String> -Repository2 <String> [-Branch <String>] [-Since <DateTimeOffset>]
 [-ItemStateFilter <ItemStateFilter>] -Owner <String> -Organization <String> -Pass <String>
 [-ActivityId <Int32>] [-ActivityName <String>] [-ActivityStatus <String>] [-CompletionMessage <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

-ActivityId

{{ Fill ActivityId Description }}

Type: Int32
Parameter Sets: (All)
Aliases:

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

-ActivityName

{{ Fill ActivityName Description }}

Type: String
Parameter Sets: (All)
Aliases:

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

-ActivityStatus

{{ Fill ActivityStatus Description }}

Type: String
Parameter Sets: (All)
Aliases:

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

-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

-CompletionMessage

{{ Fill CompletionMessage Description }}

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: (All)
Aliases:

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

-Pass

{{ Fill Pass Description }}

Type: String
Parameter Sets: (All)
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

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

XpandPosh.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