-
-
Notifications
You must be signed in to change notification settings - Fork 7
Get GitHubCommitIssue
external help file: XpandPwsh.Cmdlets.dll-Help.xml Module Name: XpandPwsh online version: https://go.microsoft.com/fwlink/?LinkID=2097043 schema: 2.0.0
Lists all GitHub issues that related to a commit.
Get-GitHubCommitIssue -Repository1 <String> -Repository2 <String> [-Branch <String>] [-Since <DateTimeOffset>]
[-Until <DateTimeOffset>] [-ItemStateFilter <ItemStateFilter>] -Owner <String> -Organization <String>
-Pass <String> [<CommonParameters>]
Get-GitHubCommitIssue -Repository1 <String> -Repository2 <String> [-Branch <String>] [-Since <DateTimeOffset>]
[-Until <DateTimeOffset>] [-ItemStateFilter <ItemStateFilter>] -Organization <String> -Token <String>
[<CommonParameters>]
It searches all open issues and links them to commits since the last release.
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.
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
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
{{ Fill Organization Description }}
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill Owner Description }}
Type: String
Parameter Sets: Owner
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill Pass Description }}
Type: String
Parameter Sets: Owner
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
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
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
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
{{ Fill Token Description }}
Type: String
Parameter Sets: Token
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill Until Description }}
Type: DateTimeOffset
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.