< Back

Get-JiraFilterPermission

Thu Jan 16, 2020 7:50 am

NAME Get-JiraFilterPermission



SYNOPSIS

Fetch the permissions of a specific Filter.





SYNTAX

Get-JiraFilterPermission [-Filter] <JiraPS.Filter> [[-Credential] <PSCredential>] [<CommonParameters>]



Get-JiraFilterPermission [-Id] <UInt32[]> [[-Credential] <PSCredential>] [<CommonParameters>]





DESCRIPTION

This allows the user to retrieve all the sharing permissions set for a Filter.





PARAMETERS

-Filter <JiraPS.Filter>

Filter object from which to retrieve the permissions



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-Id <UInt32[]>

Id of the Filter from which to retrieve the permissions



Required? true

Position? 0

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? 1

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

[JiraPS.Filter]







OUTPUTS

[JiraPS.Filter]







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-JiraFilterPermission -Filter (Get-JiraFilter 12345)

#-------

Get-JiraFilterPermission -Id 12345



Two methods for retrieving the permissions set for Filter 12345.

-------------------------- Example 2 --------------------------



12345 | Get-JiraFilterPermission

#-------

Get-JiraFilter 12345 | Add-JiraFilterPermission



Two methods for retrieve the permissions set for Filter 12345 by using the pipeline. The Id could be read from a

file.



RELATED LINKS

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

Get-JiraFilter

Add-JiraFilterPermission

Remove-JiraFilterPermission