When creating the time entry in the ticket, you can choose which task is the time information to be added to. This information can later be reported on as well.