new StoryReporterBuilder() {
public StoryReporter reporterFor(String storyPath, org.jbehave.core.reporters.Format format) {
if (format.equals(org.jbehave.core.reporters.Format.HTML)) {
// return new JiraStoryReporter(jiraUrl, jiraProject, "admin", "admin", environment);
// return new GroovyStoryReporter(jiraUrl, jiraProject, "admin", "admin", environment);
Keywords keywords = keywords();
return new JiraStoryReporter(new File("target", "story_report.xml"), keywords,
jiraUrl, jiraProject, "admin", "admin", environment);
} else {
return super.reporterFor(storyPath, format);
}