Rally Kanban - hiding Epic Stories

北慕城南 提交于 2019-12-12 20:23:42

问题


Is there a way to hide epic stories (i.e. stories with children) from Rally's kanban board app (presumably by customizing the kanban "catalog app" code to be a custom app)?

I found the part of the kanban javascript app code where it sets up a query depending on whether stories "allocated to a release" are hidden (and I'd added another checkbox into the settings to control the showing / hiding of epic stories), but haven't had any success modifying the query to exclude stories that have children. (Whether or not the query can be modified, or whether the cards need to be filtered after fetching the query results, I'm not sure).


回答1:


Unfortunately for now this is unsupported by our WSAPI. Being able to filter by collection count is one of the more requested features however- (Children.Count = 0) or something similar would be awesome.

There is one app in the catalog that does prevent epics from showing up on a board- Estimation Board. It is entirely manual though. Data is queried first with Children included in the fetch and any items with Children are filtered out of the results on the client side before being passed to the CardBoard component. There are also performance issues to consider when pulling back this additional volume of data.




回答2:


You cannot filter data based upon the qualities of items in collections it contains. For example you could not return Stories with no children or defects. You could filter change the query to return the children of the stories if you wanted. This would enable you to filter the stories in memory on the browser side.

There are a few issues with this plan that kept me from filtering them when we wrote the Kanban App. If the the first page of stories returned contained entirely epics for one of the columns queries you would end up with a column with no data in it even if further down rank you had leaf stories that you would of been shown.

The second issue is that due to the Rally's WSAPI ability to fetch fields semi-recursively each child object can be rather large. Some of our customers have a single epic with many many children I didn't want to chance the lack of responsiveness for those customers.

If you are comfortable with this issues on your personal version of our Kanban board you can just listen to the onDataRetrieved event and filter out your unwanted stories.

Internally we are very aware of the annoyances that this causes and we are working to find a good general solution to this issue.

If we release one I will dig this post back up and make sure the new solution is explained.



来源:https://stackoverflow.com/questions/8811067/rally-kanban-hiding-epic-stories

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!