On the 'Close' issue transition we have a 'close issue' screen which, among other fields, asks the user the specify the resolution for the issue.
We used to have the default for resolution set to 'Fixed'.
However, lots of users just leave this default and close the issue with resolution is 'Fixed', while in reality the resolution should be 'Duplicate', 'Canceled', 'Functions as designed', or something else.
I decided to remove the default of Fixed, hoping this would force the user to choose a/the correct resolution value from the dropdown.
What happens instead however, is that the first resolution in the list becomes the default (Incomplete).
Which is not the expected/desired behaviour.
Is there a way to have JIRA render an extra option on the top of the list saying "Select a resolution...." or something like that?
Technically, it's not "mandatory" in Jira speak. The field is optional, otherwise you'd have to have it on the create screen, which would be pretty useless. Your problem is that when you do place the field on a screen, it does not have an "empty" option, and defaults to the first value in the list, so you always end up setting it to something.
To "fix" this, you need to do two things:
Note also that point 1 will let people mess up your resolutions in quick-edit if you place the field on the "edit" screens, so the standard advice to "never put resolution on an edit screen" still stands.
Open up the application server installation in a file manager, find the template files that render resolution, and change them to forcibly add the "none" to the list. Do this while JIRA is offline of course, and keep a backup (i.e. do it in test first and check it works). The file used to be called resolution-edit.vm, but it may have moved or been renamed
I'm unsure why the easier method isn't provided here. OP didn't say if they are server or cloud user. I'm cloud and you simply to go the Administration/Resolutions screen, and click the "Clear" defaults button at the top. The user is then asked to pick one. Validation in the workflow can enforce a value as needed.
We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs