< Back

Get-JiraIssueLinkType

Thu Jan 16, 2020 7:57 am

NAME Get-JiraIssueLinkType



SYNOPSIS

Gets available issue link types





SYNTAX

Get-JiraIssueLinkType [-LinkType] <Object> [-Credential <PSCredential>] [<CommonParameters>]





DESCRIPTION

This function gets available issueLink types from a JIRA server. It can also return specific information about a

single issueLink type.



This is a useful function for discovering data about issueLink types in order to create and modify issueLinks on

issues.





PARAMETERS

-LinkType <Object>

The Issue Type name or ID to search.



Required? true

Position? 1

Default value None

Accept pipeline input? False

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.IssueLinkType]







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.



Remaining operations for `issuetype` have not yet been implemented in the module.



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



Get-JiraIssueLinkType



This example returns all available links from the JIRA server

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



Get-JiraIssueLinkType -LinkType 1



This example returns information about the link type with ID 1.



RELATED LINKS

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

Add-JiraIssueLink

Get-JiraIssueLink

Remove-JiraIssueLink