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.
Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
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