Is there a way to remove all the filters?
But i had written groovy script to send emails explictily to component leads who are jira-users. Will it work?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is probably a better way of handling notifications. Even i shuld remove jira administrators group also as there are around 25 users under it. Thanks for the answer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't use the Groovy scripts so I can't say but it depends on how explicit it is, if it uses the Jira mail system then it should be ok, if it sends it directly them it may have problems. Maybe ask Jamie Echlin as he's the expert in groovy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You could possibly use SQL & manually delete them. You'd have to shut Jira down, run SQL & restore but make sure it's tested and you have the backups on standby!
Have a look here for an idea of how to find the filters in the database, it lists the subscriptions by filter. I'd imagine you'd also have to get rid of the subscriptions and all the references to shared filters otherwise Jira is doing to have problems.
http://confluence.atlassian.com/display/JIRA041/Database+Schema
It would also not be supported by Atlassian so it's only a suggestion of last resort. How many filters do you have? The SQL is "select count(*) from searchrequest"
If there aren't many, maybe you could just remove them manually, it would be a lot safer.
Can I ask why you want to do it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your answer.
We have around 5000 filters and most of them are subscribed with auto email notifications. Now we want to test some scenarios from our test instance and we want to enable the mail server for that. But if we do so, emails will be sent to all the users who subscribed thru the filters. So in order to block sending emails automatically, we have to remove all the filters. Please suggest if there is any other easy way for doing this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dieter,
Thanks for your suggestion. I am deleting both the tables.
-Srini
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't think this is possible from GUI.
From jira 4.4.1 own wards, admins can remove other users filters.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.