Agile Central - LookBack API: Get all Previous States of Schedule State field

Document ID : KB000111779
Last Modified Date : 21/08/2018
Show Technical Document Details
How can we use Lookback API to get all previous values of Schedule State?
Here is an example Lookback API query you can use:<<Workspace Object ID>>/artifact/snapshot/query.js?find={"ObjectID":<<Artifact Object ID>>},_PreviousValues.ScheduleState%22:{%22$exists%22:true}}&fields=["ScheduleState","_SnapshotDate","_SnapshotNumber"]&hydrate=["ScheduleState"]&compress=true

This query is requesting all previous snapshots of the artifact that had value for Schedule State. The value is then hydrated to display the field's string (instead of the numeric value).

Here is a screenshot of the JSON output:

User-added image
Additional Information:
More on Lookback API: