Hi,
I've done a script that allow me to replace an issue type by an other one in all my Jira.
It works, but it broke all the filter of the previous type.
Is there a way to change the content of all filter.
Like:
def filterMan = ComponentAccessor.filterManager()
def allFilters = filterMan.getAllFilters()
def jqlRequest
allFilters.each{
if ("issue Type" in it.getJqlRequest()){
jqlRequest = it.jqlRequest()
jqlRequest.replace("issue Type", "new issue Type")
it.setJqlRequest(jqlRequest)
}
}
My main issue consist in getting all the jql request of all the filter.
Regards,
Laurent
Hi Laurent,
We also have a similar requirement for adding custom filters using script. Did you find any solution to it?
Thanks In Advance
Hi Mamta,
Nop, sorry :/
Regards,
Laurent
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.