Hi All,
I've been trying to figure out how to add the row id # in front of the Task Names in editIteration.action. For the more static app-level stories, this is easily accomplished in /WEB-INF/jsp/inc/_backlogList.jsp, by adding "aef:html(row.id)" in front of "aef:html(row.name)" on row 90. However, the iteration level stories/tasks are more dynamic, and use this file dynamicTable.js which is one long string with no line endings. What's the best way to dump the row number in front of Task Names, so our QA has task IDs to file bugs against?
Thanks,
Tom
Comments (1)
Feb 07
Reko Jokelainen says:
Hi. The tasks under iteration's stories are handled by the StoryController clas...Hi.
The tasks under iteration's stories are handled by the StoryController class of the Agilefant dynamics library. The configuration can be found here
I suggest you add the id column between the rank and name columns. You'll also need to change the numbers in the Task controller to respond to your preferences i.e. add the column (name e.g. "id") and shift all the others upwards. All the numers in the columnIndices should be unique.
Then add a configuration to the StoryController something like
config.addColumnConfiguration(TaskController.columnIndices.id, { minWidth : 30, autoScale : true, cssClass : 'task-row', title : "#", headerTooltip : 'Id', get: TaskModel.prototype.getId });You need to change the IterationController too, if you want to see the id numbers on tasks that do not reside under stories but iteration. Feel free to ask if there are any more problems.
Best Regards,
Team Agilefant
Add Comment