Azure devops Azure Devops服务器2019将选择限制为扩展到8列
有没有办法更改服务器上的此限制?2020年似乎没有这个限制。或者有没有更好的方法来编写EXPLAND子句,从而减少列数?我需要这里的所有数据来制作我的报告Azure devops Azure Devops服务器2019将选择限制为扩展到8列,azure-devops,odata,azure-devops-extensions,azure-devops-server-2019,azure-devops-analytics,Azure Devops,Odata,Azure Devops Extensions,Azure Devops Server 2019,Azure Devops Analytics,有没有办法更改服务器上的此限制?2020年似乎没有这个限制。或者有没有更好的方法来编写EXPLAND子句,从而减少列数?我需要这里的所有数据来制作我的报告 …$select=WorkItemId、Title、WorkItemType、StartDate、TargetDate、State、stateCography、IterationSK&$expand=iterations($select=StartDate、EndDate)、Project、subjects($apply=filter)(Wo
…$select=WorkItemId、Title、WorkItemType、StartDate、TargetDate、State、stateCography、IterationSK&$expand=iterations($select=StartDate、EndDate)、Project、subjects($apply=filter)(WorkItemType in('Feature'、'User Story'、'Task'、'Bug')和ProjectSK eq XXXXXXX,状态ne'Removed'))$select=Title、WorkItemId、WorkItemType、State、StartDate、TargetDate、ParentWorkItemId、OriginalEstimate、StoryPoints;$expand=iterations($select=IterationSK、StartDate、EndDate))
您可以在子体上使用$expand,而不是在子体上使用。当我使用子体时,我得到了8列的相同错误限制
。如果我更改为Children
$select=WorkItemId,Title,WorkItemType,StartDate,TargetDate,State,StateCategory,IterationSK&$expand=Iteration($select=StartDate,EndDate),Project,Children($apply=filter(WorkItemType in ('Feature','User Story','Task','Bug') and ProjectSK eq XXXXXXX and State ne 'Removed');$select=Title,WorkItemId,WorkItemType,State,StartDate,TargetDate,ParentWorkItemId,OriginalEstimate,StoryPoints;$expand=Iteration($select=IterationSK,StartDate,EndDate))
见下文:
将子体更改为子体
$select=WorkItemId,Title,WorkItemType,StartDate,TargetDate,State,StateCategory,IterationSK&$expand=Iteration($select=StartDate,EndDate),Project,Children($apply=filter(WorkItemType in ('Feature','User Story','Task','Bug') and ProjectSK eq XXXXXXX and State ne 'Removed');$select=Title,WorkItemId,WorkItemType,State,StartDate,TargetDate,ParentWorkItemId,OriginalEstimate,StoryPoints;$expand=Iteration($select=IterationSK,StartDate,EndDate))
然而,儿童只是一个层次的深度。我需要在给定Epic下的整个项目树。@Matthew可能我担心azure deveps 2019服务器的8列限制是设计的。您可能需要升级到,或者可以使用子项
,并使用代码作为变通方法重新构造返回结果。您也可以将此问题报告给。他们的API是否可用,我可以使用它来确定用户使用的ADO版本,以便我可以动态构造查询。@Matthew可能没有API可用于获取该版本。但是您可以对该url发出http请求https://tfs2019:port/my_collection/_home/about
获取版本详细信息。退房