javascript - Rally waspi queries - filter using 'in' operator -


i trying of user stories associated given rollup querying first features have rollup parent, , finding of stories have feature portfolioitem parent.

however, requires messy looping in order loop on of features children. have been using multiple wsapi data stores queries, , want use of syntax lbapi queries - particularly, can use 'in' value operator? tried doing array of ids supplied, did not appear work. more elegant (and easier) like

filters : [{     property : 'parent.objectid',     operator : 'in',     value    : ids }] 

rather than

ext.array.each(ids, function(id) {     ...     filters : [{         property : 'parent.objectid',         operator : '=',         value    : id     }] 

or unique lbapi? going in entirely wrong way? thanks

it possible use 'in' operator snapshotstore,which retrieves data lookback api, in example below, 1111 , 2222 oids of portfolioitems of type theme:

ext.create('rally.data.lookback.snapshotstore', {                         context: {                             workspace: this.context.getworkspace(),                          },                          find: '{'+' "_itemhierarchy":{$in:[1111,2222]},'+                                     '"_typehierarchy":"hierarchicalrequirement"'+'}',                         //........... 

'in' operator specifc lbapi. in config options of rally.data.queryfilter there list of valid operators, , not include 'in'.


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -