How to clear the resolution on a ticket?

A ticket was closed and marked as "Won't Fix". The customer chaged their minds, and now the ticket is reopened, but I can't clear the resolution field.

All of the commits related to this issue are tagged with the ticket number, so creating a new ticket would be a bad solution.

4 answers

1 accepted

0 votes
Accepted answer

There is no way to do it without changing my workflow. While JIRA seems highly configurable, any deviation from how they expect you to use it will result in major problems.

Um, yes, your workflow is incorrect, so you need to edit it...

Note, there is a known bug in Greenhopper in that when you convert projects to using the "simplified workflow", it puts "clear resolution" on ALL the transitions. See

My workflow is not incorrect. There is no "Reopen" transition in my workflow. Creating an extra transition just to overcome the arbitrarily imposed limitations of the software seems silly.

It's not an arbitrarily imposed limitation, it's done by design. An arguable one that I'd be strongly tempted to change to a completely different model of course. But it's still not wrong, your workflow doesn't take account of the way things are, so it's incorrect (until the rules are changed).

I don't know why you keep commenting on here. If the software is designed so that a re-open transition is required, and a post function is required to be on the re-open transition, then the software should not allow you to create a workflow that does not have this.

1 vote

The "reopen" transition should have had a "post function" on it that says "Resolution will be cleared". I'd re-add that transition and then cycle back through closed and reopen again.

(You can't just put resolution on an edit screen - Jira removes the "none" option from it)

You have two things to fix:

1. Fix the workflow so that it clears the resolution field when moving from Resolved or Closed Status back to Re-Open status.

2. Fix the existing issues where the resolution field is set on issues that are in an Open state.

To fix #1:

Add the post function to update the issue field to "None" to the Re-Open transition(s) in your workflow.

To fix #2:

  • Install the Script Runner Plugin
  • Create a filter that returns a list of the issues where the resolution is still set when it shouldn't be. e.g. status in (Open,"Re-Opened","In Progress") and resolution is not empty
  • Go to administration section
  • Goto the "Builtin Scripts" area (installed by script runner plugin)
  • Click "Bulk Fix Resolutions".
  • Choose your filter and choose "None" for the resolution field

1) Can't install script runner plugin, using hosted instance of JIRA.

2) Don't have a rigid workflow, all transitions are global.

Can you create a global transition in the workflow called "Clear Resolution" and:

1. Put a condition on it that only members of the group 'jira-system-administrators' can execute it.

2. Put a post function in that clears the resolution.

3. No screen associated with the workflow action.

Hi Luke, in fact you can edit you workflow and add in a Post Function transition in any step you want. But I think Nic option of putting the field on the edit screen is faster, and easier. You can erase it later.

Ramiro, that does not work.

If you add the resolution to a screen, Jira removes the none option from it. In other words, putting a resolution on a screen sets it, even if you want to unset it.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,529 views 15 21
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you