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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

Meet the AUG leaders of Northern Virginia

@Rachel Wright (Jira Genie), @Billy Poggi (AUG NOVA, DC), and @Dana Jansen (Confluence Queen) are just some of the folks that lead one of the world's most active Atlassian User Group (AUG)....

156 views 5 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