Rally 2.0 API と WsapiDataStore オブジェクトを使用して反復に使用できる「計画速度」フィールドにアクセスしようとしています。開発中に fetch: true を使用してすべてのフィールドを引き戻しても、このフィールドは表示されません。
このフィールドにアクセスする方法を知っている人はいますか?
ありがとう、マイケル
コードの抜粋:
Ext.define('CustomApp', {
    extend: 'Rally.app.App',
    componentCls: 'app',
    launch: function() {
        this.loadIterations(); 
    },
    loadIterations: function() {                
        var iterations = Ext.create('Rally.data.WsapiDataStore', {
            model: 'Iteration',
            autoLoad: true,
            fetch: ['ObjectID', 'Name', 'EndDate', 'PlannedVelocity'],
            sorters: [
                {property: 'EndDate', direction: 'ASC'}
            ],
            listeners: {
                load: function(store, data, success) {
                    Ext.Array.each(data, function(record) {
                        console.info('ID: ', record.get('ObjectID'), 
                            '  Name: ', record.get('Name'),                             
                            '  EndDate: ', record.get('EndDate'), 
                            '  PlannedVelocity: ', record.get('PlannedVelocity'));
                    });
                }, scope: this
            }
        });        
}    
});
コンソール出力:
ID: 12351801409 Name: AGR 4.2 Iteration 1 EndDate: Date {Tue Jul 02 2013 23:59:59 GMT-0400 (Eastern Standard Time)} PlannedVelocity: undefined ID: 12351802932 Name: AGR 4.2 Iteration 2 EndDate: Date {Tue Jul 23 2013 23:59:59 GMT-0400 (Eastern Standard Time)} PlannedVelocity: undefined ID: 13298563033 Name: AGR 4.2 Iteration 3 EndDate: Date {Tue Aug 13 2013 23:59:59 GMT-0400 (Eastern Standard Time)} PlannedVelocity: undefined ID: 12351804786 Name: AGR 4.2 Iteration 4 EndDate: Date {Tue Sep 03 2013 23:59:59 GMT-0400 (Eastern Standard Time)} PlannedVelocity: undefined
ラリー情報:
Name End Date Planned Velocity AGR 4.2 Iteration 1 7/2/2013 29.0 Points AGR 4.2 Iteration 2 7/23/2013 82.0 Points AGR 4.2 Iteration 3 8/13/2013 70.5 Points AGR 4.2 Iteration 4 9/3/2013 72.4 Points