Filtering epics from Kanban board

前端 未结 3 1964
生来不讨喜
生来不讨喜 2021-01-27 01:31

I would like to start by saying I have read Rally Kanban - hiding Epic Stories but I\'m still having trouble on implementing my filter based on the filter process from the Estim

3条回答
  •  鱼传尺愫
    2021-01-27 01:40

    Per Charles' hint in Rally Kanban - hiding Epic Stories

    Here's how I approached this following Charles' hint for the Rally Catalog Kanban. First, modify the fetch statement inside the cardboardConfig so that it includes the Children collection, thusly:

          fetch: "Name,FormattedID,Children,Owner,ObjectID,Rank,Ready,Blocked,LastUpdateDate,Tags,State"
    

    Next, in between this statement:

          cardboard.addEventListener("preUpdate", that._onBeforeItemUpdated);   
    

    And this statement:

         cardboard.display("kanbanBoard");
    

    Add the following event listener and callback:

        cardboard.addEventListener("onDataRetrieved", 
            function(cardboard, args){
                // Grab items hash
                filteredItems = args.items;
    
                // loop through hash keys (states)
                for (var key in filteredItems) {
    
                    // Grab the workproducts objects (Stories, defects)                 
                    workproducts = filteredItems[key];
                    // Array to hold filtered results, childless work products
                    childlessWorkProducts = new Array();
                    // loop through 'em and filter for the childless
                    for (i=0;i

    This callback should filter for only leaf-node items.

提交回复
热议问题