How to access actual start date of work item via OSLC (agile template)?
Hi everybody,
|
Accepted answer
We have to track the "Actual Start Date" in our environment for our metrics on level of effort projects as well. We've come up with a couple of approaches for this.
1) Originally we added an "Actual Start Date" attribute to all of our work items and we defined a JavaScript attribute customization that would set this attribute when the work item entered a particular state. This worked okay but was a little error prone because it would become reset if work items were re-opened and certain other corner cases caused it to store invalid data. We probably could have made it more reliable and robust if we had implemented it as server-side Java extension (follow-up action operation behavior) instead.
2) Eventually, we got rid of the attribute and just display the Actual Start Date in reports. For the reports, we pull the work item history. We sort the history entries chronologically and look at the first instance when a work item moves from a Created state group to an In Progress state group. When that occurs, we flag that as the Actual Start Date. Note that this report was REST-based (which I find easier than OSLC queries), but if you wanted to do something similar with OSLC queries, I'm sure that would be a viable option as well.
Jochen Widmaier selected this answer as the correct answer
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.