Re: Setting comments on Reviews when Submitted

2011-11-17 Thread Hongbin Lu
Hi Dan. I still believe you can achieve that via web api, since the GUI works by just using the web api. I guess you also need to specify the status, like that: self.api_put(review_request['links']['self']['href'], { 'description': "Testing", 'status': "submitted", })

Re: Setting comments on Reviews when Submitted

2011-11-17 Thread daniel.j.la...@googlemail.com
I have looked at the 'Review Request Resource' and using exactly the same method I use for submitting a review request I try to set the description. However this is not working (I do this after the review is submitted). Can anyone help? I am using the code from post-review and do this: se

Re: Setting comments on Reviews when Submitted

2011-11-16 Thread Hongbin Lu
Hi Dan. You can definitely do that via the web api. Please check http://www.reviewboard.org/docs/manual/1.6/webapi/2.0/resources/review-request/under HTTP PUT. Hongbin On Wed, Nov 16, 2011 at 5:38 AM, daniel.j.la...@googlemail.com < daniel.j.la...@googlemail.com> wrote: > All, > > I have recentl