How to get all filter?


#1

I want to get all filter , something like this
How can I do that?
Thank you


#2

There’s an API for that.


#3

Thank you, @david.pinn
That API https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-api-3-filter-my-get for Jira Cloud REST API.
But I am finding the solution for Jira Server. Do you know any way for Jira Server?

Cheers,


#4

I don’t believe there’s an API for that yet. You may want to vote on “Allow retrieval of all saved filters using REST api”.

Also, have a read of “Get list of filters via REST API”.


#5

I voted for that ticket. If we don’t use the REST API, how about the java class?
https://docs.atlassian.com/software/jira/docs/api/7.6.1/


#6

That should be SearchRequestService and SearchRequestManager respectively.

Filters were known as Search Requests originally. In a similar vein, Dashboards used to be called Portal Pages.


#7

Thank you, @sfbehnke.
This is the solution I am looking for