Rally Software

Expand all | Collapse all

Rally API Project ID Identification

Jump to Best Answer
  • 1.  Rally API Project ID Identification

    Posted 10-09-2019 02:49 PM

    I want to create an API interface to pull Epics, Sub-Epics, Features, and User Stories from a specific Workspace and Project.
    1. I have access to multiple workspaces for my org
    2. I have access to our organizations entire backlog space (100+)

    1. How do you identify the 'Project' ID/Name e.g. ?  'xxxxxxxxxxxxxxx'

    thank you!


  • 2.  RE: Rally API Project ID Identification
    Best Answer

    Posted 10-09-2019 02:57 PM
    Hi Brett,

    You can gather that information from the ObjectID attribute returned from a project query
    https://rally1.rallydev.com/slm/webservice/v2.0/project?query=(Name = "Sample Project")&fetch=ObjectID

    Results in a response as follows:
      "QueryResult": {
        "Errors": [], 
        "PageSize": 20, 
        "Results": [
            "ObjectID": 198278166556, 
            "_objectVersion": "2", 
            "_rallyAPIMajor": "2", 
            "_rallyAPIMinor": "0", 
            "_ref": "https://rally1.rallydev.com/slm/webservice/v2.0/project/198278166556", 
            "_refObjectName": "Sample Project", 
            "_refObjectUUID": "75b17c81-d104-4b56-8ca8-1f9c61387d80", 
            "_type": "Project"
        "StartIndex": 1, 
        "TotalResultCount": 1, 
        "Warnings": [], 
        "_rallyAPIMajor": "2", 
        "_rallyAPIMinor": "0"

  • 3.  RE: Rally API Project ID Identification

    Posted 10-18-2019 10:10 AM
    Hi Brett,

    Firstly, I am going to have to ask what you are doing with the information once you have got it. The reason for asking this is that your assumption is that ALL the artefacts reside in the same project. "Usually", I get asked for the tree of information under a particular portfolio item regardless of where they are in the project hierarchy. This latter scenario is more common when you have different teams working on stuff together.

    I have done a number of apps that get an item and then all the descendants. An example of such is here: https://github.com/nikantonelli/PortfolioItemTimeLine/tree/With-Stories

    Rally Sales Engineer
    Rally Software