Rally: Unable to retrieve Risk Information from the Lookback API
search cancel

Rally: Unable to retrieve Risk Information from the Lookback API

book

Article ID: 194267

calendar_today

Updated On:

Products

Rally SaaS

Issue/Introduction

When using the try it now section of the Lookback API docs, I entered and objectID of a Risk and got 0 Results, when I verified that was the correct ID from the WSAPI. Below was the response that I got.

{
    "_rallyAPIMajor": "2",
    "_rallyAPIMinor": "0",
    "Errors": [],
    "Warnings": [
        "Max page size limited to 100 when fields=true"
    ],
    "GeneratedQuery": {
        "find": {
            "ObjectID": <OBJECT_OID>,
            "_ValidFrom": {
                "$lte": "2020-01-22T16:08:30.542Z"
            }
        },
        "limit": 10,
        "skip": 0,
        "fields": true
    },
    "TotalResultCount": 0,
    "HasMore": false,
    "StartIndex": 0,
    "PageSize": 10,
    "ETLDate": "2020-06-22T16:07:30.542Z",
    "Results": [],
    "ThreadStats": {
        "cpuTime": "42.858548",
        "waitTime": "0",
        "waitCount": "0",
        "blockedTime": "0",
        "blockedCount": "0"
    },
    "Timings": {
        "preProcess": 0,
        "findEtlDate": 378,
        "allowedValuesDisambiguation": 0,
        "mongoQuery": 3,
        "authorization": 1,
        "suppressNonRequested": 0,
        "compressSnapshots": 0,
        "allowedValuesHydration": 0,
        "TOTAL": 382
    }
}

Environment

Release : SAAS

Component : AGILE CENTRAL

Resolution

Unfortunately, our Lookback API doesn't fully support risks at this time.  This would be considered a feature request for Lookback API.  Here is some verbiage from our help page around what you are seeing:

Supported entities

Lookback API is focused on PortfolioItems, Hierarchical requirements (User Stories), Defects, TestCases, and Tasks for now. The API may give you access to other entities, but for these other entities, you should have lower expectations of stability, documentation, and indexes and denormalization for efficient querying. Portfolio Items are included and participate correctly in the _ItemHierarchy.

Unsupported entities There are entities which the Lookback API does not support at this time. No information on Test Sets is returned by the Lookback Api.

Here is the link to the above information:  https://rally1.rallydev.com/analytics/doc/#/manual 

We don't have any plans in the near future to support Risks, so we encourage you to share your feedback directly with our Product Management team via in-app feedback!