Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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 to remove resolutions from Issue Attributes->Resolutions?

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

2 answers

I guess it's possible to achieve using Scriptrunner and jira's API, the script would look like this:

import com.atlassian.jira.component.ComponentAccessor 
import com.atlassian.jira.config.ResolutionManager

def newId = "1"
def okList = ["Fix", "Won't Fix", "Duplicate", "Cannot Reproduce", "Not a bug"]

def resolutionManager = ComponentAccessor.getComponent(ResolutionManager)
resolutionManager.getResolutions().findAll {
!( in okList)
}.each {
resolutionManager.removeResolution(, newId)

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.

Hi @Ollie Guan_携程

So.. this is an unresolved issue?

My requirement is not to bulk change the issues with given resolution.. I understand that can be done. I actually need to bulk delete the resolutions set as Administrator.

set resolution = Unresolved

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Software

How to create Jira issus from Excel file?

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

4,349 views 22 31
Read article

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