Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Get filterid using Rest API using Filter Name

G Sunil Kumar April 12, 2021

Hi Team,

 

Is it possible to get the filter ID using filterName and RestAPI calls?

 

Regards,

Sunil

1 answer

0 votes
Mohamed Benziane
Community Champion
April 12, 2021

Hi,

There is no API that take the filtername as parameter. You can get filtername and filterid using this API

GET /rest/api/2/filter/favourite

But you need to put the filter in your favorites filter.

https://docs.atlassian.com/software/jira/docs/api/REST/8.5.13/#api/2/filter-getFavouriteFilters

Hope this helps

G Sunil Kumar April 12, 2021

Hi, 

 

Thank you for the response. 

 

But the document says that we can use the filterName and search can you provide me an example if its true.

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-filters/#api-rest-api-3-filter-my-get

 

Regards,

Sunil

Mohamed Benziane
Community Champion
April 12, 2021

You provide a link for Jira Cloud but you question is tag for Jira Server

G Sunil Kumar April 12, 2021

Is there a similar solution for JIRA server?

Suggest an answer

Log in or Sign up to answer