Agile Central - How to scope Changesets based on projects?

book

Article ID: 125272

calendar_today

Updated On:

Products

CA Agile Central On Premise (Rally) CA Agile Central SaaS (Rally)

Issue/Introduction



How to get the list of the Changesets scoped by project ? 

Environment

Release: AGUE5099000-SAAS-Agile Central-Unlimited Edition SaaS-50 User Pack
Component:

Resolution

First step is to list all of the Changesets. That can be achieved by using Custom List and picking the Chanageset as a type. 

Then use this as a query : 
(SCMRepository.Projects contains "/project/<ProjectOID>") 

You can achieve the same result by using WSAPI URL query: 
https://rally1.rallydev.com/slm/webservice/v2.0/changeset?workspace=/workspace/<WorkspaceOID>&query=(SCMRepository.Projects contains "/project/<ProjectOID>")