Making Time Entry Mandatory by Custom Conditions
I have a growing number of requests to enforce mandatory time entry, but specific to certain groups, certain states, and other attributes of the underlying item.
For example, we currently mandate that time entries exist before we can move on to a "fixed" state. By doing that we ensure that some time is entered, but the approach boldly assumes without proof that the time entered includes the actual fixing. Person "A" might put in a time entry for diagnosis, and then person B might fix and forget to enter time. Mandating that time entries exist generically doesn't help us catch person B's omission.
Additional requests include mandating entry of time by QA team members for verification of fixes. Of course with our "time entries exist" mandate already met by the time of fix, it is too late to use that generic mandate again for a subsequent workflow state.
Before I go and invent a super-cool multi-purpose time-entry-checking trigger script I am sharing this with the community in the fond hope that I am not the first to think of it. All advice and discussion are welcome. I am glad to consider other folks' requirements and share the resulting useful code.

