Resolution does not change to Resolved - even after Status is Done

This is on the OnDemand of Jira.

Even after changing the status of Issues on Jira to 'Done', the Resolution remains 'Unresolved'.

And there are no options to turn the resolution to 'Resolved'

10 answers

1 accepted

8 votes
Joe Pitt Community Champion Nov 12, 2013

It sounds like whoever setup the workflow didn't put in a transtion screen where you would set the resolution. Because the resolution field is always required it should only be presented during a transition. Another option would be to set it to a predetermined value with a post function behind the scenes during a transition.

I chose the default workflow. I have not used JIRA before . So I have accepted the defaults.
Interestingly, 4 out of 21 issues were marked as as "Resolved", while remaining remained unresolved even after status changed to "Done".
This is the screenshot of my workflow:

Does the default workflow have a status Done? Or do you mean the status Closed?

Joe is correct, generally what you would want to do is either include the Resolution on the transition screen, or use a post action on that transition to set the resolution; by default this is not done.

Just a note on this; any value in the resolution field (even if it's "THIS ISSUE IS DEFINITELY NOT RESOLVED") indicates that the issue has a resolution, and is therefore resolved, so will show as resolved on gadgets and show up with a strike through the issue key to indicate it is resolved.

The default workflow:

No doubt Joe is correct (I upvoted him).

As I suspected there are several transitions to Done status. So I think there is a post function setting the resolution to resolved (I guess from in progress to done) but now post functions from To Do to Done.

You can check that with following query

status was not in "IN PROGRESS" and resolution is empty

that query should show you all the unresolved issues (if I'm correct)

So in order to have always a resolution set you would need to follow Joes advice for all the other remaining transitions to Done as well.

You can fix this issue with one simple step.

Steps are:

Go to particular work flow in edit mood

Select the transition you are having issue <just one click on it>

Then you should be able to see the Options section display on the right hand side with five option names

Click on the last one which is 'post Functions'

Then click on the "Add post function" button on the right corner

On the next page select the last radio button option which is <Update Issue Field>

Click Add button after select above radio button

Then on the next page select relevant names from two drop menus, ex: from first menu, select Resolution, from second menu, select fixed.

 

Task done. Good luck

 

This helped me today. Thank you Shaun!

I think this only resolves the issue for jira tasks that have not already transitioned to done.  After making this change any task that transitions to Done will be marked as resolved.  But what about tasks that are already transitioned to done?  How do you get the tasks that are already Done to be marked as resolved?  It doesn't seem possible to transition from "Done" to another status so its not possible to use a transition to update "Done" tasks.

Your workflow sounds like it doesn't have a transition out of "done" - you could add one and re-open and then re-close, or even add one which loops back to done and sets the resolution

A riskier option - wait until the users are offline, then add the resolution to the "edit" screen, use bulk edit to set it, then remove the resolution again.  Be very very careful to remove the resolution field from the edit screen, or your data will start to go wrong.

Or use ScriptRunner - it's got a canned script for "correct resolution on broken issues"

In continuation to what Joe has said, I would like to direct all begnners to the Adminstrator Guide.

Ofcourse JIRA is not subscribe and start in all cases. Thank everyone.

Hi pankaj May be in jiradb the status was not identified. So if you have jira admin perms then try to run "integrity checker". Before run make sure take the database backup. Hope this is helpful to you. Thanks, Patina

That is not right. You don't need a backup to run the integrity checker. The checker won't have any effect on this problem even if the status is wrong because the problem is with the resolution and not the status. Sorry, but I think you've misread the question!

Hi Brough,

Thanks you for correction.

thanks,

Patina

The default workflow

Pankaj, Joe has provided the correct answer, have you given that a try?

Hi Pankaj,

did you check if the transition to the Done-state has a post-function configured to set the resolution? If not you have to set the resolution manually if you close a ticket. I am not sure how it is configured in the default workflow.

I have modified the workflow. I have tried doing what Joe suggested. I hope I am correct. Please see the new workflow screenshot attached. I have tested this workflow and it does what I expect-i.e., making if Resolved if status is changed to Done.

Plus I have also added "Waiting for Customer" ;)

Guess I am learning. Please confirm if did what joe meant.

[the screenshot image is not showing here, I have added it in next comment]

The modified workflow

We can't see the detail on your transitions, but if it's working the way you expect, I'd say you got it!

For the records...

For a beginner this will be helpful: https://confluence.atlassian.com/display/JIRA/Configuring+Workflow#ConfiguringWorkflow-Addingatransition

Go to "Setting the Resolution Field"...

"

Setting the Resolution field

Within JIRA an issue is determined to be Open or Closed based on the value of its Resolution field — not its Status field.

  • An issue is determined to be Open if its Resolution field has not been set.
  • An issue is determined to be Closed if its Resolution field has a value (e.g. Fixed, Cannot Reproduce).

This is true regardless of the current value of the issue's Status field (Open, In Progress, etc).

Therefore, if you need your workflow to force an issue to be Open or Closed, you will need to set the issue's Resolution field during a transition. There are two ways to do this:

HTH

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,831 views 12 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot