Hi All
I want to tag a milestone to User story using Rally restapi
I can get the reference of US and Milestone easily but adding the milestone reference with US is not working...
Read few options about using collections , but quite not familiar using collection.
Below is the code
JsonObject updatedDefect = new JsonObject();
updatedDefect.addProperty("Milestones._ref", MilestoneRef);
UpdateRequest updateRequest = new UpdateRequest(userstoryRef, updatedDefect);
UpdateResponse updateResponse = restApi.update(updateRequest);
System.out.println(updateResponse.wasSuccessful());