我正在尝试使用回溯 api 获取与缺陷关联的标签。似乎无论我尝试什么,我都无法让标签保湿。有任何想法吗?
我在返回查询时得到以下数据:
ScheduleState: "Backlog"
Tags: Array[1]
0: 3230012667
length: 1
__proto__: Array[0]
我的查询代码是:
Ext.create('Rally.data.lookback.SnapshotStore', {
fetch: ['Name','ScheduleState', 'Project', 'Tags'],
autoLoad: true,
listeners: {
load: function(store, records) {
console.log(store);
}
},
hydrate: ['Tags'],
fields: ['Name','ScheduleState', 'Project', 'Tags'],
filters: [
{
property: '_TypeHierarchy',
operator: '=',
value: 'Defect'
},
{
property: 'ScheduleState',
operator: '!=',
value: 'Accepted'
},
{
property: '__At',
value: dateString
}
]
});