During import from another project, a large list of resolutions were imported as dates, which do not contain any issues. Now, I need to delete those large list in bulk. Is it possible? If yes, how do I do that? I didn't find bulk delete option. Individual delete of each resolution is going to take a lot of time. Please suggest
I guess it's possible to achieve using Scriptrunner and jira's API, the script would look like this:
def newId = "1"
def okList = ["Fix", "Won't Fix", "Duplicate", "Cannot Reproduce", "Not a bug"]
def resolutionManager = ComponentAccessor.getComponent(ResolutionManager)
!(it.name in okList)
in newId variable you specify the id of resolution for issues which have the resolution which has been removed (since you probably don't have any issues with those resolutions yet just set any viable resolution), in okList - names of resolutions you want to keep. And execute it via scriptrunners script console.
But I'd recommend testing it first on non-production environment.
When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...
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