Setting vote counts using web services SDK
I have successfully used the SDK samples to create issues. Now we would like to build a process to increase Vote count for issues through a programmatic process.
It seemed like is should be simple enough. Here is the code code of the process:
.....
IssueEn issue;
issue = ServiceManager.IssueServices.GetIssue(ProjId, IssId);
issue.Votes = issue.Votes + 1;
ServiceManager.IssueServices.UpdateIssue(issue);
.....
This looks like it works, but the Votes update is not persisted back to the database. Is there another step that is required to save the value?
I have also tried .GetFullIssueDetails with .UpdateFullIssue and had the same results.
Thanks in advance.
acasey
· 1 |
|
Tuesday, April 7, 2009, 8:22:24 PM |