How to get all Rally Test Cases of a Test Folder using the collections endpoint with API
search cancel

How to get all Rally Test Cases of a Test Folder using the collections endpoint with API

book

Article ID: 98899

calendar_today

Updated On:

Products

Rally On-Premise Rally SaaS

Issue/Introduction

How to use the API to get all Test Cases of a Test Folder?

Resolution

To receive all the Test Cases of a given Test Folder:

You need to know the ObjectID of that Test Folder. You can query the Test Folder endpoint to retrieve it.
Then, issue a Get call to the collection of Test Cases on the Test Folder endpoint. Here is how it's done:

https://rally1.rallydev.com/slm/webservice/v2.0/TestFolder/<TestFolder_ObjectID>/TestCases

This call will return the collection of Test Cases, then you can use that collection to query further and find a particular test case.
 

Attachments

1558701946959000098899_sktwi1f5rjvs16kqb.gif get_app