AnsweredAssumed Answered

wsapi store filter operator issue

Question asked by efb16cd81e4496828beb1b75fcb705401 on Aug 21, 2014
Latest reply on Aug 21, 2014 by efb16cd81e4496828beb1b75fcb705401
Hi all,

I am having trouble to get my filter of defect store working. I am trying to to get all the defect that are created after a specific date(  Release.ReleaseDate ).

_getFilters: function(startDate) {


        var dateFilter = Ext.create('Rally.data.wsapi.Filter', {
            property: 'CreationDate',
            operator: '<',
            value: startDate
        });

        console.log('startDate is: ', startDate); //Sat Aug 23 2014 02:59:59 GMT-0400 (Eastern Daylight Time)
        console.log(dateFilter.toString());
        return dateFilter;
    },

With the above filter, I always get an empty result, even thought I have verified that there are indeed some defects that are created after the startDate.

Am I missing anything?

Thanks

Outcomes