我正在制作报告,显示使用拉力赛app2.0 SDK的Scrum团队的Velocity - vs. Capacity%。
我找了一种方法来获得团队的能力但却找不到!任何人都可以帮忙吗?
提前致谢
答案 0 :(得分:1)
对于用户的sprint容量,您需要查询UserIterationCapacity。虽然以下示例的代码与AppSDK 1.0相关,但查询语法将与此帖子中概述的非常相似:
How to query team member name and capacity in Rally developer depending upon iteration?
以下是对特定项目中特定Sprint的UserIterationCapacity查询的示例。
var queryConfig = null;
var projectOID = "12345678910";
var selectedIteration = "My Iteration";
var capacityQueryString = '((Iteration.Name = ' + '"' +
selectedIteration +
'") AND (Project.ObjectID = "' +
projectOID +
'"))';
console.log(capacityQueryString);
queryConfig = {
key: "usercapacities",
type: "UserIterationCapacity",
fetch: "Capacity,User,Role,EmailAddress,DisplayName,UserName",
query: capacityQueryString
};
rallyDataSource.findAll(queryConfig, processResults);