How to find filter that query on component name?

We have defined a lot of filters in our projects, and those filters use different data from JIRA. Now we want to refactor the components, and it is pretty easy to rename them.

However, that does not change the reference in the filters that use the components in their "select" statement.

Is there a way to find all filters that "use" that component name somehow?

1 answer

1 vote
Mikael Sandberg Community Champion Oct 11, 2017

You could query your database for filters that are using the component you want to change. This query should work in MySQL

select * from searchrequest where reqcontent like "%component = <name>%"

Thank you for your answer, but I would like to see something that could be done by users, developers or project admins. So they would be able to help themselves without the operation team (that has no time to do that for all users).

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...

172 views 1 17
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