Lookback API: Is there a way to include more than one artifact type in a single query?

StackOverflow https://stackoverflow.com/questions/10725046

  •  10-06-2021
  •  | 
  •  

문제

In traditional Rally Webservices REST, if I wanted to get all Defects and Stories modified since a certain date, I would need to issue two separate REST GET requests against each of these endpoints:

https://rally1.rallydev.com/slm/webservice/1.33/hierarchicalrequirement

and

https://rally1.rallydev.com/slm/webservice/1.33/defect/

Is there a way to leverage the Lookback API to combine these into one REST request?

도움이 되었습니까?

해결책

Sure, just add _Type:{$in:["Defect","HierarchicalRequirement"]} to the query. All of the work item types are stored in the same collection. You can also get back descendent Tasks and TestCases.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top