0

有没有办法改变服务器上的这个限制?2020似乎没有这个限制。或者可能有更好的方法来编写会导致更少列的扩展子句?我需要这里的所有数据来生成我的报告。

...$select=WorkItemId,Title,WorkItemType,StartDate,TargetDate,State,StateCategory,IterationSK&$expand=Iteration($select=StartDate,EndDate),Project,Descendants($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))

4

1 回答 1

1

您可以使用 $expandChildren而不是Descendants返回有关项目 Children 的信息limit of 8 columns我使用时遇到了同样的错误Descendants。如果我改为Children

见下文:更改DescendantsChildren

$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))
于 2021-01-26T04:51:30.383 回答