Counts on the server side via WSAPI?

谁都会走 提交于 2019-12-12 12:32:54

问题


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?


回答1:


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

Rally: Pull stories counts by schedule state for a release?

The analog for Defects would be:

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

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.



来源:https://stackoverflow.com/questions/10537765/counts-on-the-server-side-via-wsapi

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!