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

0 votes
Accepted answer

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 Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

904 views 3 9
Read article

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