下面我试图通过设置上下文工作区和项目来过滤 Rally 数据,但它不起作用.. 我在做什么?我还查看了此处发布的另一个类似问题,但这对我没有帮助。
Ext.define('CustomApp', {
extend: 'Rally.app.App',
componentCls: 'app',
launch: function() {
Ext.create('Rally.data.WsapiDataStore', {
model: 'UserStory',
autoLoad: true,
context: {
workspace :'https://rally1.rallydev.com/slm/webservice/1.40/workspace/2004571051'
project: 'https://rally1.rallydev.com/slm/webservice/1.40/project/5022032422',
projectScopeUp: false,
projectScopeDown: false
}
filters: [
{
property: 'Name',
value: 'story about a Product X'
}
],
listeners: {
load: this._onDataLoaded,
scope: this
}
});
},