AnsweredAssumed Answered

Pulling Release information from Rally Production environment using .NET Custom code.

Question asked by AnilYerroju1349106 on Feb 23, 2018
Latest reply on Feb 28, 2018 by Michael Bulkeley

I am using below lines of code for pulling "Release Details" from Rally Prod enviorment, but it is returning zero resulsts
even I have data available.

When pointing same code to Development, it is returning requested query results. Please help me in this.

 

Request request = new Request("release");

request.Query = new Query("Name", Query.Operator.Equals, releaseName);

// Make request and process results
QueryResult queryResult = restApi.Query(request);
foreach (var releaseData in queryResult.Results)
{
releaseEndDate = releaseData["ReleaseDate"];
releaseStartDate = releaseData["ReleaseStartDate"];
}

Outcomes