What a filter is associated with?

We would like to clean up our library of filters, removing those that are no longer being used.

However, if we delete a filter that is associated with the board, the board is actually removed automatically. And, if a filter is used in someones gadgets/jira issues macro, we don't want to remove it and cause it to break.

But, given that we have hundreds of pages, it's impossible to go through the UI to determine where they are used.

Does anyone have a good process for determining whether or not a filter is being referenced somewhere?

It would be really nice if there were an administrative function that we could use to see such references to assist with cleanup.

2 answers

1 accepted

0 vote
David Chan Atlassian Team Sep 09, 2013

As mentioned by Pedro, there's no easy to do this via the UI. You can however go into the database. For example, if you're using PostgreSQL:

select * from "AO_60DB71_RAPIDVIEW" a join searchrequest s on a."SAVED_FILTER_ID"=s.id;

Thanks for this example. We are trying to narrow down our saved filters to not only improve users searches for a specific filter, but when someone terminates, we want to either change ownership or get it deleted to keep the db as clean as we can.

0 vote
Pedro Cora Atlassian Team Sep 08, 2013

Currently this is not possible. There's an improvement request for this at JRA-28728

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

235 views 1 18
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