UNRESOLVED showing up as a Resolution for Resolved issues
Problem
When using the Issue Navigator
to find issues, the Resolution status of Unresolved
appears twice.
For JIRA 4.1.x the statuses with the non-red Unresolved status are items that are using the custom added Unresolved status
Cause
This is caused when a custom Resolution
status of Unresolved
is added under Administration >> Issues >> Resolutions
. When an issue is opened in JIRA, the default is that the Resolution
field is empty - the term Unresolved is a system term that means the Resolution field has no value. Only when the Resolution field has no value does it appear with the system default Unresolved.
All issues are considered unresolved until the Resolution field is given a value.
Solutions:
Workflow Method
If a duplicate resolution
status appears in the Issue Navigator
, remove it via the following steps:
- Modify the workflow to add a loop transition for affected status. In the transition, add an
Update Issue Field
post function to set theResolution
field toNone
.- For this step you'll want to add a Transition in your Open step that will lead back to the Open step
- That is the step where you will need to assign the Update Issue Field post function to set Resolution to None
- In the issue navigator, search for the issues with the Resolution set to
unresolved
. (i.e. the custom unresolved status or whichever one shows up black and not in all caps)
One way to make the distinction a little easier between the resolutions is to change the Unresolved status to a different name - Do a bulk transition using the transition set in step 1.
- If necessary, repeat the above steps for each affected status.
- Revert the changes made in step 1 to clean up the workflows.
- Remove the
unresolved
status listed underAdministration >> Issues >> Issue Attributes >> Resolutions
Script Runner Method (third party add-on)
This is an alternate method to clear resolutions on tickets
- Install the Script Runner add-on
- Build a search for all issues that are using the user created
unresolved
status - Save search as a filter
- Navigate to Add-ons, scroll down to SCRIPT RUNNER and select Built-in Scripts
- Select the Bulk Fix Resolutions, use the saved filter, and select none as the new resolution.
- Remove the
unresolved
status listed underAdministration >> Issues >> Issue Attributes >> Resolutions
Full Script Runner usage instructions: https://jamieechlin.atlassian.net/wiki/display/GRV/Built-In+Scripts#Built-InScripts-BulkFixResolutions