story = new stdclass(); $config->story->batchCreate = 10; $config->story->affectedFixedNum = 7; $config->story->needReview = 1; $config->story->batchEdit = new stdclass(); $config->story->batchEdit->columns = 11; $config->story->batchClose = new stdclass(); $config->story->batchClose->columns = 10; $config->story->create = new stdclass(); $config->story->edit = new stdclass(); $config->story->change = new stdclass(); $config->story->close = new stdclass(); $config->story->review = new stdclass(); $config->story->create->requiredFields = 'title'; $config->story->edit->requiredFields = 'title'; $config->story->change->requiredFields = 'title'; $config->story->close->requiredFields = 'closedReason'; $config->story->review->requiredFields = 'assignedTo,reviewedBy,result'; $config->story->editor = new stdclass(); $config->story->editor->create = array('id' => 'spec,verify', 'tools' => 'simpleTools'); $config->story->editor->change = array('id' => 'spec,verify,comment', 'tools' => 'simpleTools'); $config->story->editor->edit = array('id' => 'comment', 'tools' => 'simpleTools'); $config->story->editor->view = array('id' => 'comment,lastComment', 'tools' => 'simpleTools'); $config->story->editor->close = array('id' => 'comment', 'tools' => 'simpleTools'); $config->story->editor->review = array('id' => 'comment', 'tools' => 'simpleTools'); $config->story->editor->activate = array('id' => 'comment', 'tools' => 'simpleTools'); $config->story->list = new stdclass(); $config->story->list->exportFields = ' id, product, module, plan, source, title, spec, verify, keywords, pri, estimate, status, stage, openedBy, openedDate, assignedTo, assignedDate, mailto, reviewedBy, reviewedDate, closedBy, closedDate, closedReason, lastEditedBy, lastEditedDate, childStories, linkStories, duplicateStory, files';