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:
that example story, similar. below in code more complicated defect specific filter example.
Comments
Post a Comment