1

我尝试使用 XML URL(例如 https://rally1.rallydev.com/slm/webservice/1.37/testcase?query = ...

我只想检索从第 x 天到第 y 天接受的 WorkProducts 测试用例,所以我构建这样的查询: https://rally1.rallydev.com/slm/webservice/1.37/testcase?query=((WorkProduct. AcceptedDate >= "yyyy-mm-dd") AND (WorkProduct.AcceptedDate <= "yyyy-mm-dd")) 结果是:无法遍历到“AcceptedDate”

有趣的是我可以这样做: https://rally1.rallydev.com/slm/webservice/1.37/testcase?query=(WorkProduct.LastUpdateDate <= "2012-06-26") 这是相同的概念。

有没有人可以说为什么 LastUpdate 信息是可查询的而 AcceptedDate 不是?

谢谢,明周二

4

1 回答 1

1

The reason this doesn't work is because the WorkProduct field on TestCase is an Artifact. Artifact does have a LastUpdateDate field but does not have an AcceptedDate field. You should still be able to get the data you want but it will take a few extra queries.

You'll have to query for defects and stories whose AcceptedDate is in the desired range and include TestCases in the fetch.

于 2012-10-29T15:41:32.337 回答