Re: Customize Webhook's URL to POST comment use JIRA API2 based on ReviewBoard 2.5.7

2017-01-20 Thread Bill Hoo
Thanks for your kindly advises Barret :) We use RBTool 0.7.9 and the script svn-hook-postcommit-review from RB's github repository, we changed it a little because the " --revision-range" command

Re: Customize Webhook's URL to POST comment use JIRA API2 based on ReviewBoard 2.5.7

2017-01-17 Thread Barret Rennie
Bill, Ah OK that makes more sense. I'm not sure if we have the resources to devote to developing and supporting dynamic web hook URLs in RB itself. Theoretically you could reuse most of the existing webhook framework in an extension to send to a custom URL. Also if you're using post-review

Re: Customize Webhook's URL to POST comment use JIRA API2 based on ReviewBoard 2.5.7

2017-01-17 Thread Bill Hoo
Hi Barret, Yes it is, the {issuekey} is a bug ID in JIRA, which looks like {MYPROJECT-123}, and we customized the official post-commit script with RBTools to post it as the bug number on the review request. After that we can click the "Bugs" field and jump into JIRA very happpy. But the

Re: Customize Webhook's URL to POST comment use JIRA API2 based on ReviewBoard 2.5.7

2017-01-17 Thread Barret Rennie
Hi Bill, What exactly would {issueKey} be? Is that the bug number on the review request? Regards, Barret On Tue, 17 Jan, 2017 at 7:41 PM, Bill Hoo wrote: Hi Christian, Thanks for the reply. If we search in this group or Google, we can find a lot of questions like "How to

Re: Customize Webhook's URL to POST comment use JIRA API2 based on ReviewBoard 2.5.7

2017-01-17 Thread Bill Hoo
Hi Christian, Thanks for the reply. If we search in this group or Google, we can find a lot of questions like "How to integrate ReviewBoard and JIRA?", if dynamic URL still a technical problem, can we provide an official extension for this feature or at least a plan on it? After all JIRA is a

Re: Customize Webhook's URL to POST comment use JIRA API2 based on ReviewBoard 2.5.7

2017-01-17 Thread Christian Hammond
(Hrm. I wrote this days ago and apparently never sent it. Sorry!) Hi Bill, Thanks for the kind words :) WebHooks today don't have any kind of dynamic URL support. What would "{issuekey}" come from in Review Board? An option is to build a simple extension that listens for the necessary signals

Customize Webhook's URL to POST comment use JIRA API2 based on ReviewBoard 2.5.7

2017-01-14 Thread Bill Hoo
Hi guys, Thanks for your great job on ReviewBoard! It's nice and easy to use! We use ReviewBoard 2.5.7 for our code review workflow, we need comment on JIRA issues with every review event, and JIRA REST API2 need a URL like this: http://MYJIRAHOST/rest/api/2/issue/{issuekey}/comment Which