GNOME Bugzilla – Bug 136946
WBS (Work Breakdown Structure) required ideally with custom formatting.
Last modified: 2005-02-18 16:25:02 UTC
A WBS is a handy field because some other project tools have it and thus people get used to using it. Also some project processes use this with their own formating i.e. not just 1, 1.1, 1.1.1 etc but Team A - Project 1 - Summary 1 - Task 1. Its not actually hard to create a WBS given that the mrp_get_task position returns the position with this depth so its simply a matter of walking back up the heirachy to get a numerical WBS. I suggest that we calculate a WBS field and then cast this via a printf style derived ideally from a Project Custom Property e.g. WBSPREAMBLE = "" WBSFIELDDELIMITER = " - " WBSDEPTH1SUBSTITUTE = "A,B,C,D,E,F,G,I,J,K,?" WBSDEPTH1FORMAT = "Group %c" WBSDEPTH2FORMAT = "Project %d" WBSDEPTH3FORMAT = "Summary %d" WBSDEPTH4FORMAT = "Task %d" WBSPOSTAMBLE = "." This can then be used in the Task View printouts and export to HTML etc as well as in the Task Dialog. Given its derived data there probably is NOT a need to actually add it to the database/DTD schema, though I think it would be helpfull as its complex for 3rd party things to calculate this. Well thats my thoughts anyway.
I've commited code that hardcodes this to 1.1.1, etc. I don't think we should add formatting and a UI for that unless we really know it's needed. Adding support for it in the storages might be a good idea.
I can look at what you've done and I can add the storage stuff. I think its neccesary to store it in SQL/XML/HTML etc as it'll be nice for post-processing/reporting systems.
I'm not sure it's useful to save this data, it's really just a property of the ordering of the tasks in the UI, at least with the current implementation. I'm closing this bug, and we can add another one if needed.