private TimeTracker buildTimeTracker(TimeTrackerEntry timeTrackerEntry) {
        Map<Long, WorklogEntry> worklogEntries = timeTrackerEntry.getWorklogs();
        ObjectFactory objectFactory = new ObjectFactory();
        TimeTracker timeTracker = objectFactory.createTimeTracker();
        if (timeTrackerEntry.getCurrentWorklog() != null) {
            timeTracker.setCurrentWorklog(convertEntryToWorklog(timeTrackerEntry.getCurrentWorklog()));
        }
        for (WorklogEntry worklogEntry : worklogEntries.values()) {
            Worklog worklog = convertEntryToWorklog(worklogEntry);
            timeTracker.getWorklogs().add(worklog);
        }
        return timeTracker;
    }