Monitoring date change of Work Item state changes
As some of you may know there is an inbuilt attribute called "Resolution Date" which gets auto populated when a work item reaches "Closed" state.
We would like to introduce few more timestamp attributes in our process template to auto capture other state transitions dates. for example capture the date when a work item is transition to "Verified" state. Having looked at the forum there doesn't seem to be any definite answers. Once we have all state transition dates being captured automatically, the goal is to run custom report to analysis number of days it took a work to reach to a certain state in the workflow.
Can state transition dates be automatically captured by using "Calculated Values" calling into a custom java script ? Or any other way ?
One answer
- No there is nothing built in that does that for other states.
- No, JavaScript attribute customization does not provide useful ways to do this.
- Yes, there are Java Server Extension based ways this could be done.
- It could also be done using the API accessing the work item history.
- It would be worthwhile to look into JRS and evaluate if there is a way to report on the work item history
- https://github.com/jazz-community/rtc-statushistory-presentation shows such information based on the work item history, but only works in the Web UI