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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Clarification on the 'Resolution' parameter

When reading "Building an awesome Jira workflow: concepts and examples" (Building an awesome Jira workflow: concepts and examples (atlassian.com)), it states "You must set a resolution when an issue moves from an unresolved state to a resolved  state. Likewise, resolution needs to be removed if an issue flows back into an unresolved state."

 

Does removing the resolution mean clearing it? Or creating and setting it to a specific value, like "empty"?   Will having the resolution be cleared (actually empty) when in an unresolved state in the workflow cause any issues or side-effects in Jira?  

 

I'm guessing it should be 'empty' unless it is in a "Done" (or equivalent) status.  Is this correct?

1 answer

1 accepted

0 votes
Answer accepted

Yes, it needs to be "cleared".

In the database, the resolution field is always present, but holds either (a reference to) a resolution or it is empty, with the content described as "null" or empty.  It's not a string saying "nothing here", there really is nothing there, not even a byte, nybble or bit.

Empty, none, unresolved, not there, even the word "null" itself, etc - these are all not null and an issue with these values is resolved because the field is not null, it's got a value.

So yes, the resolution should be 'empty' unless it is in a "Done" (or equivalent) status.

In Jira UI, the best thing to do is use the built in post-function.  Edit transitions that go out of "done" status to "not done", adding a post function called "update field".  It will ask you which field (resolution) and offer you a list of options (select the first one - "none").  When you save it, there's a bit of discontinuity - the post function will display "clear resolution" rather than "update resolution to none/empty/clear".

If in doubt, make a copy of the default (non deletable) default Jira workflow and edit that, it has the post-functions as examples.

Thank you very much Nic. That clears it up nicely.  Very much appreciated. 

Like Nic Brough _Adaptavist_ likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

7,138 views 8 28
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you