Agile Central - App SDK: Collections 'Summary' function seems not to work with custom fields

Document ID : KB000126464
Last Modified Date : 11/02/2019
Show Technical Document Details
Question:
We are using the SDK's collection 'summary' fetch option. It works fine for all standard fields. Yet, when we include a custom field then we are getting a 500 error. Here is our code:
{
..
..
   wsapi.store ... 

model: 'userstory',
fetch:'TestCases:summary[c_myCustomField;Priority]

...
...
}

When above code runs with any standard fields (such as Priority in the above snippet) then all works. Yet, when we add this custom field (in above code snippet is: 'c_myCustomField') then we receive: 

POST https://rally1.rallydev.com/slm/webservice/v2.0/HierarchicalRequirement 500 
Answer:
Indeed your experience is correct.


Custom Fields do not take part in the SDK's wsapi store Summary argument of the fetch function.