-
-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Find-JiraFilter #365
Find-JiraFilter #365
Conversation
Hi @vercellone Thank you very much for this contribution! Please allow me a few days to think about this, as it's the first use of an API which is new with version 3 🎉 Some question to you, though: |
I did avoid less objective features pending feedback. But, I can implement those.
|
Evidently, the endpoint is unchanged from v2 to v3. 2, 3, and latest all work. So, the currently coded Uri should be fine as-is: |
I tested this api on
it's not part of the Jira Server 8 Api doc. The error return when the API does not exist was
this might be relevant to refactor with a "Not supported by server" error once the module has better responses |
Description
Adds a Find-JiraFilter function to facilitate finding filters by name (among other things) when the Id is not known. The relevant rest api endpoint is /rest/api/3/filter/search.
Motivation and Context
Get-JiraFilter lacks the ability to retrieve a filter by name, and the performance of its' -Favorite switch is inadequate for large result sets.
Types of changes
Checklist