Returns information about a filter in JIRA
Get-JiraFilter [-Id] <String[]> [-Credential <PSCredential>] [<CommonParameters>]
Get-JiraFilter -InputObject <Object[]> [-Credential <PSCredential>]
[<CommonParameters>]
Get-JiraFilter -Favorite [-Credential <PSCredential>] [<CommonParameters>]
This function returns information about a filter in JIRA, including the JQL syntax of the filter, its owner, and sharing status.
This function is only capable of returning filters by their Filter ID. This is a limitation of JIRA’s REST API.
The easiest way to obtain the ID of a filter is to load the filter in the “regular” Web view of JIRA, then copy the ID from the URL of the page.
Get-JiraFilter -Id 12345
Gets a reference to filter ID 12345 from JIRA
$filterObject | Get-JiraFilter
Gets the information of a filter by providing a filter object
Get-JiraFilter -Favorite
Gets all filters makes as “favorite” by the user
ID of the filter to search for.
Type: String[]
Parameter Sets: ByFilterID
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Object of the filter to search for.
Type: Object[]
Parameter Sets: ByInputObject
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Fetch all filters marked as favorite by the user
Type: SwitchParameter
Parameter Sets: MyFavorite
Aliases: Favourite
Required: True
Position: Named
Default value: False
Accept pipeline input: False
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).
The filter to look up in JIRA. This can be a String (filter ID) or a JiraPS.Filter object.
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.