'Task' field is not shown in time cards form
UI policy "Make 'task' field visible" set to inactive condition choices.
The behavior seen is due to "Make 'task' field visible" UI policy.
Notice in the XML file the conditions are set to the following:
However, in the instance neither category choice is available. The task_work option is set to inactive, and the project_work choice does not exist in this instance. Since the UI policy "Make 'task' field visible" is set to 'Reverse if false' this will hide the Task field as the conditions are not being met. The solution here will be to update the conditions on this policy to meet your business requirements.