MostUsefulConfiguration configuration = new MostUsefulConfiguration();
// set custom Jira HTML output format
configuration.useStoryReporterBuilder(
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();