Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bulk change all items with Resolution of "None" back to Unresolved

Jerilyn Edginton September 13, 2023

So years ago, someone at the company I joined made the most terrible mistake of ignoring all JIRA best practices and created a resolution called "None". To make it even better, they defaulted the resolution to this so as soon as an issue is created, Jira thinks it's resolved. I want to clear out everything with a None resolution and set it back to NULL. Transitions aren't ideal bc I don't want to transition every single ticket out of its current status. 

2 answers

1 accepted

0 votes
Answer accepted
Thorsten Letschert _Decadis AG_
Community Champion
September 13, 2023

HI @Jerilyn Edginton ,

you can use so called global looping (or reflexive) transitions that won't update the status.

This article explains the usage quite well: https://community.atlassian.com/t5/Jira-articles/How-to-create-global-looping-transitions-in-a-Jira-workflow/ba-p/1135968

Cheers,
Thorsten

Jerilyn Edginton September 13, 2023

Thank you very much!

Jerilyn Edginton September 13, 2023

I'm looking at the post functions... if I use 

  1. Update Issue Field'
  2. Select Resolution for Issue Field and the appropriate Field Value

First, it will apply to every resolution and I only want it to apply to items with a None resolution. Second, it's unclear whether the "please select" option will change it to Null.

Thorsten Letschert _Decadis AG_
Community Champion
September 13, 2023

Hi @Jerilyn Edginton ,

  1. After editing the workflow, you should head over to the issue search, filter for the issues with the incorrect resolution and then do a bulk change on only those issues.
  2. Within the dropdown, the first "None" option should be the correct one corresponding with "empty value".

cac_bulk-resolution.PNG

In general, since you're about to delete this disturbing "None" resolution anyway, it might be a good idea to rename this one upfront (e.g. DELETE), so that the issue search and the workflow configuration gets easier.

Cheers,
Thorsten

Like Jerilyn Edginton likes this
Jerilyn Edginton September 14, 2023

Very helpful, thank you!

0 votes
Jerilyn Edginton September 14, 2023

For anyone following in my footsteps, these are the steps I plan to take: 

Step 1:
Rename the None resolution so that it is distinguishable from Jira’s None resolution in certain configuration instances.

Step 2:
Create a global looping transition (ResolutionFixer) that does nothing but loop statuses back to themselves again. Add a post function to this transition that updates the resolution to None (Jira’s).

 Step 3:
Do a bulk search of items with the None (company's) resolution. Transition those items using the ResolutionFixer transition. All items will keep their current status and the resolution field will be cleared and set back to null (Jira None).

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events