This post has been closed as a duplicate. All votes have been moved to the original: Mandatory logging of time on task
Create a flag at the project level which when selected requires all tasks and/or issues on that project to have time logged before they can be completed or move to 100%. Flag can be toggled on and off.