Returns a project from Jira
Get-JiraProject [-Credential <PSCredential>] [<CommonParameters>]
Get-JiraProject [-Project] <String[]> [-Credential <PSCredential>] [<CommonParameters>]
This function returns information regarding a specified project from Jira.
If the Project parameter is not supplied, it will return information about all projects the given user is authorized to view.
The -Project
parameter will accept either a project ID or a project key.
Get-JiraProject -Project TEST -Credential $cred
Returns information about the project TEST
Get-JiraProject 2 -Credential $cred
Returns information about the project with ID 2
Get-JiraProject
Returns information about all projects the user is authorized to view
The Project ID or project key of a project to search.
Type: String[]
Parameter Sets: _Search
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Credentials to use to connect to JIRA.
If not specified, this function will use anonymous access.
Type: PSCredential
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 (http://go.microsoft.com/fwlink/?LinkID=113216).
This function requires either the -Credential
parameter to be passed or a persistent JIRA session.
See New-JiraSession
for more details.
If neither are supplied, this function will run with anonymous access to JIRA.
Remaining operations for project
have not yet been implemented in the module.