The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

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

Sergey Shmarkatyuk
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
March 3, 2013

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
dleng
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
March 4, 2013

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?

Sergey Shmarkatyuk
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
March 4, 2013

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

TAGS
AUG Leaders

Atlassian Community Events