rally - Is there a way to apply a filter to a treestore that includes a property that does not exist on one of the models specified? -


i trying populate treegrid user stories , defects, 1 of parameters use in filter property not exist on defect model.

if filter includes property, no results returned. there workaround or special filter definition?

the treegrid/treestore request data artifact wsapi endpoint. there hidden queryable field called typedefoid can use limit filter specific type, so:

((typedefoid != <defecttypedefoid>) or ((typedefoid = <defecttypedefoid>) , (defectfield = "value"))) 

you can obtain defecttypedefoid model once treestore built:

var defecttypedefoid = treestoremodel.getartifactcomponentmodel('defect').typedefoid; 

you can see example of in action in iterationtrackingboardapp here:

https://github.com/rallyapps/app-catalog/blob/master/src/apps/iterationtrackingboard/iterationtrackingboardapp.js#l227

that example story, similar. below in code more complicated defect specific filter example.


Comments

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -