What a filter is associated with?

Karie Kelly
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 22, 2013

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 votes
Answer accepted
David Chan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 9, 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;

Karie Kelly
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 9, 2013

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 votes
Pedro Cora
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 8, 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