Skip to content
This repository was archived by the owner on Aug 31, 2026. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 19 additions & 5 deletions deploy/App.html
Original file line numberDiff line numberDiff line change
Expand Up@@ -72,8 +72,8 @@

"tasks" : "/tasks?fetch=taskindex,name,objectid,formattedid,owner,blocked,estimate,todo,actuals,state,workproduct&query=(Iteration = ${iteration})" + scoping + paging,

"stories" : "/hierarchicalrequirement?fetch=rank,blocked,formattedid,name,objectid,owner,project,schedulestate,taskestimatetotal,taskremainingtotal,taskactualtotal,tasks&order=Rank&query=(Iteration = ${iteration})" + scoping + paging,
"defects" : "/defect?fetch=rank,blocked,formattedid,name,objectid,owner,project,schedulestate,taskestimatetotal,taskremainingtotal,taskactualtotal&order=Rank&query=(Iteration = ${iteration})" + scoping + paging,
"stories" : "/hierarchicalrequirement?fetch=rank,blocked,formattedid,name,objectid,owner,project,schedulestate,taskestimatetotal,taskremainingtotal,taskactualtotal,tasks,planEstimate&order=Rank&query=(Iteration = ${iteration})" + scoping + paging,
"defects" : "/defect?fetch=rank,blocked,formattedid,name,objectid,owner,project,schedulestate,taskestimatetotal,taskremainingtotal,taskactualtotal,planEstimate&order=Rank&query=(Iteration = ${iteration})" + scoping + paging,
"defectsuite" : "/defectsuite?fetch=rank,blocked,formattedid,name,objectid,owner,project,schedulestate,taskestimatetotal,taskremainingtotal,taskactualtotal&order=Rank&query=(Iteration = ${iteration})" + scoping + paging,
"testsets" : "/testset?fetch=rank,blocked,formattedid,name,objectid,owner,project,schedulestate,taskestimatetotal,taskremainingtotal,taskactualtotal&query=(Iteration = ${iteration})" + scoping + paging
};
Expand DownExpand Up@@ -173,8 +173,22 @@
});
html.push('<div class="state">' + state.display(false, value.ScheduleState == 'Accepted') + '</div>');

html.push('<div class="id">' + value.FormattedID + '</div>');
html.push('<div class="name">' + RALLY.toolkit.niceSubstring(value.Name, 100) + '</div>');

var storyType;
switch(value.FormattedID.substring(0,2))
{
case "US":
storyType = "userstory";
break;
case "DE":
storyType = "defect";
break;
}

html.push('<div style="float: left;" class="id"><a href="' + '__SERVER_URL__' + '/#/detail/' + storyType + '/' + value.ObjectID + '" target="_blank">' + value.FormattedID + '</a></div>');
html.push('<div style="float: right;"> Story Points: ' + value.PlanEstimate + '</div>');
html.push('<div class="clear"></div>');
html.push('<div style="display: block;" class="name">' + RALLY.toolkit.niceSubstring(value.Name, 100) + '</div>');
html.push('<div class="' + ownerClass.join(' ') + '">' + owner + '</div>');

html.push(renderTimeCell((schema.TaskEstimateTotal) ? schema.TaskEstimateTotal.DisplayName : 'Est', value.TaskEstimateTotal, timeClass.join(' ')));
Expand DownExpand Up@@ -258,7 +272,7 @@
}

html.push('<div style="' + contentStyle + '">');
html.push('<div class="id">' + item.FormattedID + '</div>');
html.push('<div class="id"><a href="' + '__SERVER_URL__' + '/#/detail/task/' + item.ObjectID + '" target="_blank">' + item.FormattedID + '</a></div>');
html.push('<div class="name">' + RALLY.toolkit.niceSubstring(item.Name) + '</div>');
html.push('<div class="' + ownerClass.join(' ') + '">' + owner + '</div>');

Expand Down