< Back

Get-JiraIssueType

Thu Jan 16, 2020 7:57 am

NAME Get-JiraIssueType



SYNOPSIS

Returns information about the available issue type in JIRA.





SYNTAX

Get-JiraIssueType [-IssueType] <String[]> [-Credential <PSCredential>] [<CommonParameters>]





DESCRIPTION

This function retrieves all the available IssueType on the JIRA server an returns them as `JiraPS.IssueType`.



This function can restrict the output to a subset of the available IssueTypes if told so.





PARAMETERS

-IssueType <String[]>

The Issue Type name or ID to search.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-Credential <PSCredential>

Credentials to use to connect to JIRA.

If not specified, this function will use anonymous access.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

[Int[]]







OUTPUTS

[JiraPS.IssueType]







NOTES





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.



-------------------------- EXAMPLE 1 --------------------------



Get-JiraIssueType



This example returns all the IssueTypes on the JIRA server.

-------------------------- EXAMPLE 2 --------------------------



Get-JiraIssueType -IssueType "Bug"



This example returns only the IssueType "Bug".

-------------------------- EXAMPLE 3 --------------------------



Get-JiraIssueType -IssueType "Bug","Task","4"



This example return the information about the IssueType named "Bug" and "Task" and with id "4".



RELATED LINKS

Online Version: https://atlassianps.org/docs/JiraPS/com ... IssueType/

Get-JiraIssue