MS SQL Query for deleting shared Filters

I have cloned my production JIRA instance, and now I have got several shared filters, out of which most of them are no use to anyone. I want to delete all the filters, which are linked to concerned project.

E.g Delete filters, which matches to Project X (the X project doesn't is deleted in current instance)

1 answer

1 vote

Hi,

In the searchrequest table, the reqcontent column holds the saved query, e.g. I have a save filter titled Branden.  The text in the reqcontent column is as follows:

project = SR and reporter = Branden


You can find the filters that have that project key in the text:

select * from searchrequest where reqcontent like '%DAL%'

You can similarly use a query such as the above to find any text within the search query.

Hopefully that helps!

Cheers,

Branden

Thanks Branden for reply.

 

However, when I deleted row from search request, it is still showing in System>Shared Filters. Anyway of deleting from the administration list?

Hello there!

 

It requires an application restart for the changes to take effect. Have you restarted JIRA after removing the entry from the database?

 

Best,

Michelle

Yes it got deleted after some time. Many Thanks for your support.

I will delete it from database. I wish there are no more problems.

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,314 views 14 20
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