Azure Devops Server 2019 限制 select 扩展到 8 列
Azure Devops Server 2019 limits select in expand to 8 columns
有没有办法改变服务器上的这个限制? 2020好像没有这个限制。或者有没有更好的方法来编写 expand 子句,从而减少列数?我需要这里的所有数据来生成我的报告。
...$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))
您可以在 Children
上使用 $expand 而不是 Descendants
到 return information about an item's Children。当我使用 Descendants
时,我得到了同样的错误 limit of 8 columns
。如果我更改为 Children
,错误就消失了
见下文:
将 Descendants
更改为 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))
有没有办法改变服务器上的这个限制? 2020好像没有这个限制。或者有没有更好的方法来编写 expand 子句,从而减少列数?我需要这里的所有数据来生成我的报告。
...$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))
您可以在 Children
上使用 $expand 而不是 Descendants
到 return information about an item's Children。当我使用 Descendants
时,我得到了同样的错误 limit of 8 columns
。如果我更改为 Children
见下文:
将 Descendants
更改为 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))