I have created a Custom field in one of our azure DevOps projects.
Field Reference Name: Custom.TestingType
.
Now I want to access this field with an Odata query,
https://analytics.dev.azure.com/companyName-ProjectName/myProjectName/_odata/v4.0-preview/WorkItemSnapshot?
$apply=filter(WorkItemType eq 'Test Case')
/groupby(
(WorkItemId, Title, WorkItemType, State, Reason, Custom_Module, Iteration/IterationPath, ChangedDate, Custom_TestingType)
)
Using above code I get an error.
Also custom field is not available in the metadata. We accessing azure data schema metadata link e.g. https://analytics.dev.azure.com/companyName/myProjectName/_odata/v4.0-preview/$metadata
This issue resolved automatically. Newly created Custom filed on azure may takes time at least 1-2 days to reflect in metadata schema. New field appear immediately on azure filter query but access through oData query using power BI takes time.