Rally: Duplicate Records in API data
search cancel

Rally: Duplicate Records in API data

book

Article ID: 210648

calendar_today

Updated On:

Products

Rally SaaS

Issue/Introduction

From the user:  We are receiving duplicate records for user stories, where one record is NULL and another is empty for the same field and same US. Some US have more than one owner.

Environment

Release : SAAS

Component : AGILE CENTRAL

Resolution

***This occurred because the script making the API call to Rally  either didn't have the Start index set or it was set to 0 instead of 1.  The paging routine needed to be updated.

In the initial pull of data from our Rally Log files there is an error/warning for the 

      WS-API-PAGE-SIZE200
       WS-API-QUERY(LastUpdateDate >= "today-7")
       WS-API-QUERY-TYPEHierarchicalRequirement
       WS-API-START-INDEX1
       WS-API-TOTAL-RESULTS10736
       WS-API-WARNINGStart index cannot be less than 1 -- using 1 instead

On the second page of requests this was seen

      WS-API-PAGE-SIZE200
       WS-API-PROJECT:
       WS-API-QUERY(LastUpdateDate >= "today-7")
       WS-API-QUERY-TYPEHierarchicalRequirement
       WS-API-SHALLOW_FETCH:
       WS-API-START-INDEX200
       WS-API-SUB_ADMINfalse
       WS-API-TOTAL-RESULTS10754

They were requesting the 200th record twice.