I need to take a snapshot of the Azure DevOps analytics that gives me the number of hours predicted on the sprint planning date. If possible, grouped by parent ID.
I will also need a second view, grouping by activity, but starting from the first I believe I can reach the second.
Below is an attempted consultation, but it didn't work out very well. It returns an error message that I cannot understand why.
https://analytics.dev.azure.com/{org}/{project}/_odata/v3.0-preview//WorkItemSnapshot?$filter=(DateValue ge Iteration/StartDate and DateValue le Iteration/StartDate and WorkItemType eq 'Task')/groupby((Activity), aggregate($count as Count, RemainingWork with sum as WorkTotal))
Error:
{"error":{"code":"0","message":"VS403483: The query specified in the URI is not valid: ')' or ',' expected at position 136 in '(DateValue ge Iteration/StartDate and DateValue le Iteration/StartDate and WorkItemType eq 'Task')/groupby((Activity), aggregate($count as Count, RemainingWork with sum as RemainingWorkTotal))'..","innererror":{"message":"')' or ',' expected at position 136 in '(DateValue ge Iteration/StartDate and DateValue le Iteration/StartDate and WorkItemType eq 'Task')/groupby((Activity), aggregate($count as Count, RemainingWork with sum as RemainingWorkTotal))'.","type":"Microsoft.OData.ODataException","stacktrace":""}}}
Complementing my need, I need to obtain the values that are highlighted in yellow in the image below:
