As there is a limitation within Azure DevOp queries on query types of "Tree of work item" and usage of "AS OF" to pull out historical data, we need to get a workaround.
This will need to be a new method inside SearchRepository. The current line is where it fails as AS OF is not allowed.
https://github.com/sara-sabr/rp-azuredevops-common/blob/00666362cd64abbfd9be0fccfe9e1f646722b0fb/src/Search/Search.repository.ts#L65-L142
As there is a limitation within Azure DevOp queries on query types of "Tree of work item" and usage of "AS OF" to pull out historical data, we need to get a workaround.
This will need to be a new method inside SearchRepository. The current line is where it fails as AS OF is not allowed.