title: How to Update a Task (change User Story) using Rally API?
body: <p>So I am trying to update a Task and change the User Story it belongs to.  This is what i am trying..</p>
  
  <pre><code>var toUpdate = new DynamicJsonObject();
  
  // the new User Story
  toUpdate["WorkProduct"] = "/hierarchicalrequirement/4567890123";
  
  // the ObjectID of the Task
  long oid = 45678912445; 
  
  OperationResult result = _restApi.Update("task", oid, toUpdate);
  </code></pre>
  
  <p>But getting this error: <code>System.Collections.Generic.List'1[System.String]</code></p>