Re: Extending the Review Workflow

2013-06-14 Thread David Trowbridge
Winston,

Doing this as an extension is definitely the way to go.

There are django signals that your extension code can listen to. Take a
look at reviewboard/reviews/signals.py for the things you'd want to listen
to, and then your code can attach to those and do whatever you need.

-David


On Fri, Jun 14, 2013 at 8:40 AM,  wrote:

> I have just setup my first instance of ReviewBoard and use JIRA to track
> my bugs/work.  ReviewBoard gives me a basic way to link my review back to
> the JIRA ticket through the Custom Bug Tracker feature.  But I also want to
> link my JIRA ticket to my set of Reviews for that ticket.  JIRA gives me an
> API that allows me to do this, but I would like a way to intercept or
> extend the workflow of a ReviewBoard Review to send these API calls.  At a
> minimum I would like to be able to execute the JIRA API upon a Review being
> created, but ideally I would also like to do an update to JIRA when it is
> out of draft (i.e. first publish) and when it is submitted.  Is there any
> way to do this?  I thought Extensions would do it, just from its name, but
> the more I read, I don't think that sounds correct.   Any thoughts?
>
> Thanks,
> Mike
>
> --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~--~~~~--~~--~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Extending the Review Workflow

2013-06-14 Thread winston . mike
I have just setup my first instance of ReviewBoard and use JIRA to track my 
bugs/work.  ReviewBoard gives me a basic way to link my review back to the 
JIRA ticket through the Custom Bug Tracker feature.  But I also want to 
link my JIRA ticket to my set of Reviews for that ticket.  JIRA gives me an 
API that allows me to do this, but I would like a way to intercept or 
extend the workflow of a ReviewBoard Review to send these API calls.  At a 
minimum I would like to be able to execute the JIRA API upon a Review being 
created, but ideally I would also like to do an update to JIRA when it is 
out of draft (i.e. first publish) and when it is submitted.  Is there any 
way to do this?  I thought Extensions would do it, just from its name, but 
the more I read, I don't think that sounds correct.   Any thoughts?

Thanks,
Mike

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.