< Back

Get-JiraSession

Thu Jan 16, 2020 8:00 am

NAME Get-JiraSession



SYNOPSIS

Obtains a reference to the currently saved JIRA session





SYNTAX

Get-JiraSession [<CommonParameters>]





DESCRIPTION

This function obtains a reference to the currently saved JIRA session.



This can provide a JIRA session ID, as well as the username used to connect to JIRA.





PARAMETERS

<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



OUTPUTS

[JiraPS.Session]







NOTES









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



New-JiraSession -Credential (Get-Credential jiraUsername)

Get-JiraSession



Creates a Jira session for jiraUsername, then obtains a reference to it.



RELATED LINKS

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

about_JiraPS_Authentication

New-JiraSession