Rally - DB Connector: Problem in fields loop error

book

Article ID: 129645

calendar_today

Updated On:

Products

CA Agile Central On Premise (Rally) CA Agile Central SaaS (Rally)

Issue/Introduction

When using the Database Connector and adding a user type field such as Owner or CreatedBy to the fetch line of a config file, the following error is seen in the log:
ERROR: AgileCentralConnection.getAgileCentralData - Problem in fields loop for HierarchicalRequirement with OID of 226779028176 field name: Owner, skipping item
<class 'KeyError'>​​​​​​​

Cause

This is caused by not having a ResolveUser parameter configured in the YML file.

Environment

DB Connector 1.1.0

Resolution

Add a ResolveUser configuration parameter to the AgileCentral: section and set the value to False.

Example
DatabaseConnector:
    AgileCentral:
        Server     :  rally1.rallydev.com
        Username   :  <username>
        Password   :  <password>
        Workspaces :
            - Workspace: <workspace>
        Project :
            - <project>
        Entities : HierarchicalRequirement
        Fetch : Owner
        ResolveUser: False

 

Additional Information

Agile Central Database Connector