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

Accepted Answer
0 votes

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
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

433 views 7 5
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