Custom Field Values in History
In recent releases of Targetprocess we have added historical support for Custom Field values in Targetprocess API. Also, we have migrated the history of Custom Field values since the existence of the feature in Targetprocess to a new format.
Value Access
Suppose we have a Custom Field with the name Test CF for a user story. We can access the historical values of this Custom Field via a special function called GetCustomValueString.
The query to API will look like this:
- .../api/v2/userstoryhistory?select={value:GetCustomValueString("Test CF")}
IsChanged Flag Access
Also, it is possible to access the isChanged flag for the Custom Field. It determines if a Custom Field value for the record is different from a value from a previous history record for an entity. Access to the flag is done via a special function IsCustomValueChanged.
Example of a query:
- .../api/v2/userstoryhistory?select={name,isChanged:IsCustomValueChanged("Test CF")}
More details about Custom Field Values in history can be found here.