def planned_worktime(ticket):
    """ Returns a ITimeAware holding the planned work time set on either
            the ticket, milestone or project. Returns None if no work time is
            planned
        """
