How to calculate the number of times a workitem has passed to a state?
Hi
I want to calculate how many times a workitems has passed to a specific state.
For example for a workitem with this workflow :
New - Planning - In Progress - Under review - Closed
How many times the workitem has been on the "planning" state because you can go from "under review" to "planning".
I have tried with a calculated value but it also counts the times when I'm on the "planning" state and modify any field with going to other state.
Any suggestion?
Thanks
I want to calculate how many times a workitems has passed to a specific state.
For example for a workitem with this workflow :
New - Planning - In Progress - Under review - Closed
How many times the workitem has been on the "planning" state because you can go from "under review" to "planning".
I have tried with a calculated value but it also counts the times when I'm on the "planning" state and modify any field with going to other state.
Any suggestion?
Thanks
Accepted answer
Dear Caroline & Cesar,
You can learn how to read the history of a work item and how to analyze states by looking into the Presentation.js file that is part of Status History Presentation published by the Jazz Community group on GitHub. This should make it much easier for you to get what you want, though I can't provide you with a ready-to-use solution for your requirements.
I hope this helps and happy coding,
Lukas
Comments
Don Yang
Jun 02 '15, 9:59 p.m.counting from workitem's history would be the easiest way.
Cesar Sasaki
Jun 03 '15, 12:26 a.m.Can I query the history with calculated values ?
caroline oliveira
Nov 09 '17, 3:58 p.m.I would like to know too