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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

82 views 0 5
Read article

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