Rally环回API返回的输出与Rally GUI上显示的输出之间的差异
rally上的内容与环回API返回的内容之间存在差异。如果你看下面的屏幕截图,我看到Rally正确地将“BE”作为缺陷的项目,但是,如果你看使用SDK返回的内容,会显示“FE”。为什么会发生这种情况?事实上,我认为“FE”是使用Rally SDK提取的所有缺陷的项目名称。这是我的代码,如果有帮助的话。谢谢你,凯Rally环回API返回的输出与Rally GUI上显示的输出之间的差异,rally,Rally,rally上的内容与环回API返回的内容之间存在差异。如果你看下面的屏幕截图,我看到Rally正确地将“BE”作为缺陷的项目,但是,如果你看使用SDK返回的内容,会显示“FE”。为什么会发生这种情况?事实上,我认为“FE”是使用Rally SDK提取的所有缺陷的项目名称。这是我的代码,如果有帮助的话。谢谢你,凯 _82openDefect: function() { this.chart = { xtype: 'rallychart',
_82openDefect: function() {
this.chart = {
xtype: 'rallychart',
storeType: 'Rally.data.lookback.SnapshotStore',
storeConfig: this._82getStoreForopenDefect(),
calculatorType: 'Rally.example.CFDCalculator',
calculatorConfig: {
stateFieldName: 'Severity',
stateFieldValues: ['P1 - Crash/Data Loss, upgrade/migration fail',
'P2 - Major Problem, loss of stability or feature functionality',
'P3 - Minor Problem, improves customer experience',
'P4 - Cosmetic, okay to defer'
]
},
width: 1000,
height: 600,
chartConfig: this._82getopenDefectConfig()
};
this.chartContainer.add(this.chart);
},
_82getStoreForopenDefect: function() {
return {
find: {
_TypeHierarchy: { '$in' : [ 'Defect' ] },
Children: null,
_ProjectHierarchy: this.getContext().getProject().ObjectID,
_ValidFrom: {'$gt': Rally.util.DateTime.toIsoString(Rally.util.DateTime.add(new Date(), 'day', -120)) },
State: "Open",
Release: 19388025787,
Severity: "P1 - Crash/Data Loss, upgrade/migration fail",
},
fetch: ['Severity','Release','Project','SubmittedBy','Name'],
hydrate: ['Severity','Release','Project','SubmittedBy','Name'],
sort: {
_ValidFrom: 1
},
context: this.getContext().getDataContext(),
limit: Infinity
};
},
_82getopenDefectConfig: function() {
console.log("starting 8.2 open defect chart");
return {
chart: {
zoomType: 'xy'
},
title: {
text: '8.2 Open Defects'
},
xAxis: {
tickmarkPlacement: 'on',
tickInterval: 20,
title: {
text: 'Date'
}
},
yAxis: [
{
title: {
text: 'Count'
}
}
],
plotOptions: {
series: {
marker: {
enabled: false
}
},
area: {
stacking: 'normal'
}
}
};
},
以下是图片:
没有足够的信息来确定您看到了什么,但是否可能缺陷已从FE转移到8月后的某个时间?结果中的名称(“来自postgres的消费amp设备事件消息”)也与屏幕截图不匹配。感谢您的回复。是的,我确实看到缺陷已从FE转移到9月份。现在出现的问题是LBAPI如何提取其数据?它不应该把这个项目当作“BE”吗。另一个重要的一点是,对于所有的缺陷,我将项目作为“FE”处理!这是不可能的。怎么可能一切都在“FE”中呢?因为在Rally GUI上,我确实看到了“be”、“VisualRF”等项目。谢谢-凯