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

This widget could not be displayed.

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 Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

54 views 1 0
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