assertEquals("1", customValues.getByCustomFieldId(7).getValue());
assertEquals("2010-08-20", customValues.getByCustomFieldId(10).getValue());
}
TaskData buildEmptyTaskData(Issue issue) throws Exception {
TaskData taskData = new TaskData(new RedmineTaskAttributeMapper(repository, cfg), RedmineCorePlugin.REPOSITORY_KIND, repository.getUrl(), "" + issue.getId());
Method m = RedmineTaskDataHandler.class.getDeclaredMethod("createAttributes", TaskRepository.class, TaskData.class, Issue.class, Configuration.class);
m.setAccessible(true);
m.invoke(taskDataHandler, repository, taskData, issue, cfg);