通过 WSAPI 在服务器端计数? [英] Counts on the server side via WSAPI?

查看:32
本文介绍了通过 WSAPI 在服务器端计数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使用 WSAPI 在 Rally 的服务器端进行对象计数?

Is it possible to do object counts on the server side of Rally with the WSAPI?

例如,我有一个应用程序想要计算我们工作区中每个项目的未解决缺陷的数量.我不需要知道这些缺陷本身的任何信息,所以我只需要一个计数,不需要任何其他数据回滚.

For example, I've got an app that would like to count the number of unresolved defects for each project in our workspace. I don't need to know anything about those defects themselves, so I just want a count, and don't need any other data pulled back.

有没有办法做到这一点?

Any way to do this?

推荐答案

您可能想查看 Alan 对这个问题的有用回答:

You might want to check out Alan's helpful answer to this Question:

Rally:拉动故事按计划状态计数发布?

缺陷的类比是:

     https://rally1.rallydev.com/slm/webservice/1.31/defect.js?query=(State < "Fixed")

它确实会提取所有数据,但您可以获取响应中返回的 TotalResultCount 属性,以获得与您的查询匹配的缺陷数.

It does pull all the data, but you can grab the TotalResultCount attribute that is returned in the response to get the number of Defects matching your query.

这篇关于通过 WSAPI 在服务器端计数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆