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'
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.
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.
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.
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
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"
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!
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]
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"...
Within JIRA an issue is determined to be Open or Closed based on the value of its Resolution field — not its Status field.
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:
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot