Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Complex Filter searches in Cloud - possible? (e.g. detecting nested filters)

Iain McCarthy
Contributor
March 1, 2022
Referencing filters from other filters is not uncommon in our instance, is there a way to determine if a filter is "unreferenced" by other filters beyond removing it and seeing what breaks?
I see some answers detailing SQL query of hosted instances but that's not available for Cloud - ideally we'd like an intuitive way to search for filter strings that contain other strings, filters, or subqueries. 
Thanks! 

1 answer

1 accepted

1 vote
Answer accepted
Bill Sheboy
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.
March 1, 2022

Hi @Iain McCarthy 

I do not believe there is anything built into Jira Cloud to do that.  A couple of work-around options are to:

  • investigate the marketplace for addon apps for purchase to help manage filters
  • call the REST API functions to figure this out: https://docs.atlassian.com/software/jira/docs/api/REST/1000.824.0/#api/2/filter
    • Specifically, call the method to get all the filters and then repeatedly call the method to get the filter details and review the results
    • However...if you own all of the filters, you simply call the Get My Filters method to do this in one step

Neither of these may indicate if a filter is used by a dashboard, so check the marketplace if you need to check that also.

Kind regards,
Bill

Iain McCarthy
Contributor
March 2, 2022

Thanks Bill, appreciate the response and suggestions - will explore our options. 

Suggest an answer

Log in or Sign up to answer