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?
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.