It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can I bulk change search filters' JQL without modifying ownership?

I will be changing our system resolutions to adopt a new naming convention. The downside is that every search filter that references those old resolutions will then cease to function properly until they are also modified. We have thousands of search filters and it's unreasonable to do this by hand (for one person). I also believe these cannot be edited through the UI unless the ownership is changed first.


I'm believe I'm caught between simply notifying the owners and having them modify each of their filters themselves or, I imagine, replacing the JQL query text directly in the database. 


I don't have direct DB access, so are these my only two options, or perhaps there is a way to leverage Script Runner to address this with a different approach?

1 answer

Hello Karl!


I would personally suggest doing that in DB with Jira turned off. It shouldn't be anything hard to run few SQL lines and modify all the filter in few minutes.


It might be also doable via ScriptRunner, but I am afraid you will spent a lot of time doing such script and I am not 100% sure you will be able to access all (even the personal) filters, as even scripts in ScriptRunner are run under certain user.

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you