Am unable to see any test cases tagged for few User Stories - but, there are test cases present and executed for those User Stories. There are other UserStories in the same project that am able to view and access the test cases.
This discrepancy is prevalent , when I use the V2.0 WS API - Rest - GET call on hierarchical Requirement as well.
Using API Key for authentication.
https://rally1.rallydev.com/slm/webservice/v2.0/hierarchicalrequirement?fetch=TestCaseCount,TestCases,PassingTestCaseCount&pageSize=100&start=1&query=(c_xxxxx = "abc")
"QueryResult": {
"_rallyAPIMajor": "2",
"_rallyAPIMinor": "0",
"Errors": [],
"Warnings": [],
"TotalResultCount": 27,
"StartIndex": 1,
"PageSize": 20,
"Results": [
{
"_rallyAPIMajor": "2",
"_rallyAPIMinor": "0",
"_ref": "https://rally1.rallydev.com/slm/webservice/v2.0/hierarchicalrequirement/*********",
"_refObjectUUID": "******",
"_objectVersion": "xx",
"_refObjectName": "xxxxx",
"PassingTestCaseCount": 8,
"TestCaseCount": 8,
"TestCases": {
"_rallyAPIMajor": "2",
"_rallyAPIMinor": "0",
"_ref": "https://rally1.rallydev.com/slm/webservice/v2.0/HierarchicalRequirement/*********/TestCases",
"_type": "TestCase",
"Count": 0
},
"_type": "HierarchicalRequirement"
}
As you can see above - TestCaseCount is 8, but the Count inside TestCases object is 0.
1) Checked my access - Have editor access for the project.
2) Cleared Cache , Cookies - didnt help
I need to access the test case object to interpret the number of test cases executed and Lastverdict attribute - but, unable to fetch the testcases object.