Why does 'Time spent can not be set to zero' message appear on the resolve screen?

I have noticed strange JIRA 5.1.2 behaviour. If I leave field 'time spent' empty on the resolution screen, JIRA does not show any validation messages and successfully resolves issue without logged work records. But when I put '0h' into , it says 'Time spent can not be set to zero' when I press 'Resolve' button even though leaving 'time spent' field empty is semantically equal to putting '0h' value there. Notice that there are no custom workflow validators for the 'Resolve' transition configured.

Is that an expected JIRA behaviour or is this a bug?

1 answer

1 accepted

If the Time Spent field is NOT required in the field configuration and you leave it blank, then JIRA simply thinks that you did not spend any time on the issue. Consequently if you DID put in a value into the field, then JIRA is obviously looking for any value more than a minute, since the only reason why you would want to key in a value is because you DID spent time on the issue. Expected behaviour, I'd say?

ok, no problem with that. just wanted some third-party opinion to explain jira users I work with "why is it so". thanks!

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,209 views 13 19
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot