I do not have much experience with OData and so I'm confident that is a large portion of my problem; However, none of the documentation or forums have gotten me to the desired result.
My organization has a custom field in DevOps called MyOrg.Adhocwork.
I am attempting to create a basic Table Widget in the "Team Overview Report (Data Period)" that can filter the work items by MyOrg.Adhocwork eq 'true'.
$filter=TrackedItself gt 0&$orderby=TrackedItself desc&$top=10
Okay, so this the default query. It already filters my data by filters set at the top of the page. And that is great! Now all I need to add the filter for my Adhocwork eq 'true'.
The various methods I have tried I get the following errors:
- "Can not resolve the segment identifier 'MyOrg.Adhocwork' in query option."
- " The specified type member 'CustomField1' is not supported in LINQ to Entities. Only initializers, entity members, and entity navigation properties are supported."
Can someone set me straight on how to make this work?
One attempt at my query...
$select=CustomStringField1,System_Id,System_Title,System_WorkItemType,System_TeamProject&$filter=CustomStringField1 eq 'true' &$orderby=TrackedItself desc&customFields=MyOrg.Adhocwork
Please sign in to leave a comment.