Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Best Practices for Setting ‘Resolution’ field

:one: The first rule of a Jira admin should be “We do not create a Resolution with the name Unresolved or None”

:two: The second rule of a Jira admin should be “We do not create a Resolution with the name Unresolved or None”

:three: The third rule is…. Aah.. you get the point!

rule of a jira admin.png

 

Platform

Cloud

Type of project

Company Managed Projects (CPM)

User role

Jira Admin

 

Show me one Jira admin who didn’t struggle with Resolution field when talking to teams/clients, and I’ll show you a happy man/woman! Jokes aside, the Resolution field is one of the most important fields in Jira for many reasons. The main use, in my humble opinion, is that Jira considers that the lifecycle of an issue has come to an end, if and only if (⟺ iff) the issue has a resolution. We will come back to this shortly.

 

Resolution's main use

In addition, the second best reason is to avoid having multiple final statuses which indicate that no more work has to be done for these issues. Imaging if you had the following workflow on the left, or even “better” if you had also “re-open” transitions from each of the final (green) statuses (image on the right):

 f914d0d0-bf5e-4131-9b03-e2a0c328a823.png 9ab932d3-6e8c-40ac-b740-8ddbf78c3970.png

 

Things would be even more complicated if you had more of “In progress” statuses which had transitions to all the final statuses. If that would seem confusing to you, try to imaging how the end user would feel if they would see a bunch of final statuses to choose from. Imaging try to explain a complex workflow with many business requirements, while having to deal with all these final statuses! This would be very complicated and cumbersome task.

For the above reasons, in Jira the resolution field comes to take the place of multiple final statuses and instead of having any of the above workflows, we can simply have the following:

ca51a53f-cdf8-4ce4-a8a6-0dba75d5e142.png

And when the issue transitions to Done, then the user can choose a resolution from the available that we (the Jira admin) will create

51e60ae0-9c38-4462-8bcf-4926fa0c078c.png

An issue with a resolution will look like the following picture, where you can see its resolution next to the status name:

5bd9e1f5-7e80-456c-978c-ddbbca1fe45f.png

Resolution's connection to Jira's Functionalities

As we said, the main reason of why the resolution field is important, is because this field sets the “flag” of when an issue came to and end. It is the simple source of truth for Jira to know when that issue is really done and no further work is needed.

There are many native functionalities in Jira that depend on the "Resolution" field. Some of them are (and they are not restricted to):

  • Issues having its key strikethrough on boards

  • Reports about issues (for example, "Created vs resolved")

  • System filters (for example, "Open Issues")

  • Events (when issue is resolved)

  • Notifications (when issue is resolved or closed)

 

Worst Case Scenario

Imagine now you are a Jira admin and your boss asks you to add two values to your resolution field: Unresolved and None. So you do that, because well…. he’s your boss (not your leader). Now let’s say the same boss asks from you to create a dashboard with all created vs resolved issues. So you do and then your boss comes and say to you that the results are not correct. To be more precise on the 30th of December, 27 new issues were created but only 9 were resolved!

70342b7a-0421-4548-9d9e-029a7c10cde7.png

So you take a look at the gadget above and you think that something’s wrong here:

  • Either Jira has a bug or

  • Something is wrong with the configuration of this instance

So you go ahead and google real quick the jira.atlassian.com for any open bug, but alas you can’t find anything. You decide to dig a bit deeper and see what’s wrong. You quickly navigate to advanced issue search and writing the following JQL project = ssp ORDER BY resolution ASC, you get the below results:

0c0cce77-49ad-424a-be1f-f4c00cd5391a.png

Well?

Can you see spot the problem? At a first and quick glance, a young Jira padawan wouldn’t be able to see the problem, but he/she could clearly count that only 9 issues has a resolution! Just like your boss said. The rest of them are all unresolved.. or are they?

Taking a closer look at the resolution column we see that the word Unresolved is written with two different formats: With normal letter (box A) and with italics (box B).

c63574cd-067b-4f03-a7e1-a19681c8e9a4.png

And suddenly everything falls into place! That new “Unresolved” resolution you had entered a few days ago, managed to mess up your results and confuse you and your boss as well. If you were to count the “Done” resolution issues, along with those of the “normal” Unresolved resolution, then you would get (you guessed it) a total of 15 resolved issues. Which is the number that Jira yield on that dashboard gadget.

 

Conclusion

So we are coming back to the first two rules of this article and the moral of the above story:

⚠️ We do not create a Resolution with the name Unresolved or None

Any issue that has the Resolution field set is treated by Jira applications as "resolved". The Issue Navigator displays "Unresolved" when no resolution is set for an issue. So adding a resolution named Unresolved/None and setting it in an issue will mean that the issue is seen as resolved.

 

Best Practices

Some best practices to prevent your issues from having a mistakenly set resolution, or/and the appropriate one are:

  1. Create a post function on the transition that leads to the "Done" status to set the resolution as something fixed: By doing to you are setting an appropriate and acceptable resolution.

  2. Create a screen with the resolution field on it, then map this screen to the transition to the "Done" status: By doing so, you are making the resolution field available to the users who are transitioning the issue to Done

  3. Use the workflow properties to include/exclude the resolution you want, depending on the final status (if you happen to have more that one)

  4. In addition to (2) it’s a good practice to add a validator and to make the resolution field required: By doing so you are making certain that when the issue transitions to Done, and the transition screen appears, then the user will not forget to choose a resolution from the drop down menu.

  5. If you happen to have a reopening transition or a status that allows it to be reached from any other status, you'll need to create a post-function to clear the value of the "Resolution" field. I can’t stress this enough but this is a rule which you shouldn’t forget and most likely tattoo it on you.

4 comments

Summer_Hogan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 10, 2023

This is great information @Alex Koxaras _Relational_ - thanks for sharing! 

Like Andy Gladstone likes this
Paul Heath Armengol February 1, 2023

Hi Alex @Alex Koxaras _Relational_ 

How do you set workflow properties to include/exclude certain resolutions depending on the final status?

Also, are the workflow properties and their values documented anywhere?

TIA

Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 1, 2023

HI @Paul Heath Armengol 

You can exclude/include resolutions by using the workflow properties found here: https://support.atlassian.com/jira-cloud-administration/docs/use-workflow-properties/

In your case you would need to enter jira.field.resolution.include or jira.field.resolution.exclude as a property and as a value the resolutions' IDs.

Like # people like this
Rich Johnson August 15, 2023

Great write up! One correction though as I had to go searching for this...

Correction - Under best practices, Step 4 - This is not possible. You cannot add a validator on the resolution field. See this thread for details.

TAGS
AUG Leaders

Atlassian Community Events