New GitHubProjectCard - X-Guardian/PowerShellForGitHub GitHub Wiki
New-GitHubProjectCard -Column <Int64> -Note <String> [-AccessToken <String>] [-NoStatus] [-WhatIf] [-Confirm]
[<CommonParameters>]
New-GitHubProjectCard -Column <Int64> -IssueId <Int64> [-AccessToken <String>] [-NoStatus] [-WhatIf] [-Confirm]
[<CommonParameters>]
New-GitHubProjectCard -Column <Int64> -PullRequestId <Int64> [-AccessToken <String>] [-NoStatus] [-WhatIf]
[-Confirm] [<CommonParameters>]
Creates a new card for a GitHub project.
The Git repo for this module can be found here: http://aka.ms/PowerShellForGitHub
New-GitHubProjectCard -Column 999999 -Note 'Note on card'
Creates a card on column 999999 with the note 'Note on card'.
New-GitHubProjectCard -Column 999999 -IssueId 888888
Creates a card on column 999999 for the issue with ID 888888.
New-GitHubProjectCard -Column 999999 -PullRequestId 888888
Creates a card on column 999999 for the pull request with ID 888888.
If provided, this will be used as the AccessToken for authentication with the REST Api. Otherwise, will attempt to use the configured value or will run unauthenticated.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
ID of the column to create a card for.
Type: System.Int64
Parameter Sets: (All)
Aliases: ColumnId
Required: True
Position: Named
Default value: 0
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
The ID of the issue you want to associate with this card (not to be confused with the Issue number which you see in the URL and can refer to with a hashtag).
Type: System.Int64
Parameter Sets: Issue
Aliases:
Required: True
Position: Named
Default value: 0
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
If this switch is specified, long-running commands will run on the main thread with no command line status update. When not specified, those commands run in the background, enabling the command prompt to provide status information. If not supplied here, the DefaultNoStatus configuration property value will be used.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
The name of the column to create.
Type: System.String
Parameter Sets: Note
Aliases: Content
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The ID of the pull request you want to associate with this card (not to be confused with the Pull Request number which you see in the URL and can refer to with a hashtag).
Type: System.Int64
Parameter Sets: PullRequest
Aliases:
Required: True
Position: Named
Default value: 0
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Prompts you for confirmation before running the cmdlet.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: wi
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.