SELECT sp.entityid, sp.sharetype, sp.PARAM1, s.filtername, s.authorname, s.DESCRIPTION FROM searchrequest s LEFT JOIN sharepermissions sp ON sp.entityid = s.ID WHERE sp.entitytype = "SearchRequest" AND sp.sharetype != "global"
Sorry to bring up this old one again, but I was looking for the exact opposite of this ;)
There is a table called sharepermissions. It contains a row for each shared filter rule.
The entitytype field will have value 'SearchRequest'
The sharetype field will have values of global, project or group.
The entityid field contains the id of the searchrequest table.
The filename in the searchrequest table is the name of the filter.
There are no rows in the sharepermissions table if filters are private.
If you really need me to create the sql query, let me know. This is a simple query once you understand the table structure.
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot