Calculate Tasks Where State Reverted

jacobspacek
Giga Guru

How would you calculate how many stories went back into draft once progressed to a state of Approved by PO?

 

Example

1) story created with state = "Draft"

2) story state updated = "Awaiting Approval"

3) story state updated = "Approved by PO"

4) story state updated = "Draft"

 

Goal = report on how many stories went back into draft once progressed to a state of Approved by PO?

 

While this example is specific my question is aimed at understanding if it is possible to track any tasks that progressed from state1 -> state2 -> state1.