I am trying to get all the "_PreviousValues" of a field.
For example, the state of a defect have changed from "Open" => "Fixed" => "Closed".
I would like to get all history of the state, but not just the previous value.
Thanks!
"Fixed" => "Closed". I would..." /> "Fixed" => "Closed". I would..." /> "Fixed" => "Closed". I would..."/>
I am trying to get all the "_PreviousValues" of a field.
For example, the state of a defect have changed from "Open" => "Fixed" => "Closed".
I would like to get all history of the state, but not just the previous value.
Thanks!
LookbackAPI returns historic versions (snapshots) of objects. To get a history of state transitions you need to get all snapshots where transition happened, which can be achieved by using
"_PreviousValues.State":{"$exists":true}
condition.