Pipeline: Connecting to Rally with REST

In this Page

Scenario

I want to query Rally Software with the REST Snap Pack.

This scenario was created against Rally's 2.0 API.

Requirements

Snaps Used

For this scenario, the following Snaps are used:

  • REST Get Snap
  • JSON Splitter Snap
  • Mapper Snap

Other Requirements

  • A valid Rally account.

Configuration

Querying Users

To gather a list of users in Rally:

  1. Start with a REST Get Snap. Set the following properties:
    • Service URL: https://rally1.rallydev.com/slm/webservice/v2.0/user?query=&fetch=true&start=1&pagesize=200
    • Timeout: 900
    • Process array: Selected
  2. On the Account tab, create a REST Basic Auth account with your Rally username and password.
  3. Add a JSON Splitter Snap. Set the JSON Path to $entity.QueryResult.Results[*]
  4. Add a Mapper Snap. Select the data you want from the input schema and map it to an output path. In this example, we pulled _ref, DisplayName, EmailAddress, and Disabled.

The resulting data looks like: