How to find Filter Name from Filter ID ?

As a JIRA administrator I found some warning according some filters in the log files. So I have now the filters IDs. I would like to know the names and the owners of those filters.

If I am using the https://example/issues/?filter=id

I get the message:
The requested filter doesn't exist or is private.

If I am using the SQL:
select *
from searchrequest
where id = id

I get empty table.

My question is, if the filter is private, would I see it in the SQL table? How can I find the Filter Name and owner?

2 answers

1 accepted

1 votes

The filters don't exist, that's probably what the warnings are.

Could you tell us what the warnings actually are?

There are from the structure add on. The filter, that are used for the synchronization does not exist or is not available:

2017-12-20 07:47:36,904 Structure-Jobs-3d61a76 Queue-Thread#7486 : Filter autosync #423 for structure 'TMS FD' (#405) WARN samuel.ramos<-samuel.ramos [clter.FilterSynchronizer] failed to run: filter 22856 does not exist or is not available to samuel.ramos

I wanted to find out if it does not exist or is just not available for the user and me. 

They don't exist.  The database query tells us that.

You'll need to amend the Structures you've got set up so that they reference existing filters, or remove the Structure.

1 votes
Ignacio Pulgar Community Champion Dec 20, 2017

If the SQL sentence you've executed does not return the filter row, then it doesn't exist.

Executing this SQL sentence can give you some additional understanding on how filter shares are managed in the database:

SELECT sp.entityid, sp.sharetype, sp.PARAM1, s.filtername, s.authorname 
FROM searchrequest s, sharepermissions sp
WHERE sp.entityid = s.ID
AND sp.entitytype = 'SearchRequest'
AND sp.sharetype != 'global'

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,039 views 13 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot