public void init() { Sprint currentSprint = sprintManager.getCurrentSprint(); if (currentSprint != null) { Story story = new Story(); setStoryList(new LinkedList<Story>(currentSprint.getStories())); story.setSprint(currentSprint); setCurrentStory(story); } else { setStoryList(new ArrayList<Story>()); } stories = new ListDataModel<Story>(getStoryList()); }