How to find Filter Name from Filter ID ?

When I create a filter it is assigned an ID (as well as the name I used when saving it). I then use this ID is creating additional filters:


filter = 12000 and assignee = jsmith

How do I find out which filter a specific ID actually is? The search filter page only "Searches in the filter's name and description." I want to search on ID.

2 answers

1 accepted

If the filter is shared to you, then you can view the filter & you will get the name of the filter

https://xxx.xxx.com/secure/IssueNavigator.jspa?mode=hide&requestId=12000

Thanks for this, works fine.

I also realised that I could work around this by adding the filter ID in the filter name and then the search functionality would be able to find it.

You can search in the database:

select id, filtername from searchrequest where id =<id>;

or enter the id simply in your edit filter url like

"https://example.com/xxx/secure/EditFilter!default.jspa?filterId=12000"

Thanks for the replies. I do not have direct access to the database so the "select" query is not usable. The 'edit' link does work if the filter was created by myself but does not work if the filter is someone elses and shared for me to use.

This if working for me:

HashMap<String, Object> hashMap = new HashMap<String, Object>();
hashMap.put("id", projectOrFilterId);
List<GenericValue> result = ofBizDelegator.findByAnd("SearchRequest", hashMap);

projectName = (String)result.get(0).get("name");

To get the Jira filter name from filter ID xxxxxx using the URL: http://jira.company.com/issues/?filter=xxxxxx

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Amir Kazemi
Posted 3 hours ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

16 views 0 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you