Rally - How to search for a Milestone using the WebServices API
search cancel

Rally - How to search for a Milestone using the WebServices API

book

Article ID: 10947

calendar_today

Updated On:

Products

CA Agile Central On Premise (Rally)

Issue/Introduction

Trying to create a milestone with the same name and date attributes as an already existing milestone will result in an error such as
 Validation error: Milestone.name and date: Milestone '<formatted ID>: <milestone name>' already exists with the same name and date in this workspace 

Searching for the milestone doesn't always return results, so it seems like the milestone may not actually exist.

Environment

Release:
Component: ACSAAS

Cause

Due to how the relationships of milestones and projects are defined, it is difficult to search for a milestone unless you are directly scoped to one of the projects where the milestone is already associated.  Setting the option to search in parent or child projects has no effect on this behavior.

Resolution

*You will need to be a Subscription Administrator to view ALL Milestones using the WebService API for Agile Central*



  1. Login to your subscription
  2. Navigate to the following link: https://rally1.rallydev.com/slm/doc/webservice/
  3. Locate Milestone from the list on the left, under Object Model
  4. In the Query String box, type the following:

    ex. (FormattedID = "MI444")  Input the Milestone number
     
  5. Select the checkboxes for both options listed below to run the correct query

    a. Fetch full objects
    b. Beautified JSON output
     
  6. Click on the query box
  7. Scroll down through the JSON REST Output until you get to the box for 'Projects:' you should see there the count of projects for which the milestone is present. Then click on the _ref: URL to get a listing of the projects in which the milestone is present.

Additional Information

keywords: agile central