Hi,
I need to delete a private filter, for a user that no longer exists - so I cannot login as the user and I want an alternative option for using the SU plugin.
How to safely delete it from the database? I know that for example there is an entry in the searchrequest table regarding the filter, but I want to make sure whether there are also other dependencies.
Thanks!
Hi Alexandru,
The tables you need to handle are:
You can write a db query to remove the filter and all it's references from the tables I mentioned OR you can modify the filter ownership in the searchrequest table to your user or modify the shares by adding a record in the sharepermissions table and then delete the filter from the JIRA UI. Note that if you modify the database while JIRA is running the changes will not be picked up by JIRA, so you'll need to restart JIRA. It's better to shutdown JIRA while modifying the database and start it after that. And last but not least - BACKUP YOUR DATABASE prior to any direct modifications.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.