Rally Software

 View Only

Cannot parse object reference from

  • 1.  Cannot parse object reference from

    Posted Oct 07, 2016 05:19 AM
    I am trying to add a changeset to a story. I have written java code to do that.


    JsonObject newChangeset = new JsonObject();
    newChangeset.addProperty("SCMRepository", rallyScmRepository);
    newChangeset.addProperty("Name", "Update");
    newChangeset.addProperty("Message", message);
    newChangeset.addProperty("Author", author);
    newChangeset.addProperty("CommitTimestamp", timestamp);
    newChangeset.addProperty("Revision", "7");

    CreateRequest createRequest = new CreateRequest("changeset", newChangeset);
    CreateResponse createResponse = rallyRestApiInstance.create(createRequest);


    when the system tries to execute last line of this code, we are getting the below error in console. There is no exception occurring. we are printing the createResponse.getErrors();

    Cannot parse object reference from "ZK2QSPK"

    Could someone please help me to debug this