2403: Integrate reviewboard with JIRA

P.Sw*****@gmai***** (Google Code) (Is this you? Claim this profile.)
Dec. 1, 2011
193
Hi 

I am using Review Board 1.6.1 and looking forward to intograte with JIRA. Is that possible?

Many thanks,
Swapnil Patil
david
#1 david
Can you explain what you mean by "integrate"?
  • +NeedInfo
#2 P.Sw*****@gmai***** (Google Code) (Is this you? Claim this profile.)
I want to create a JIRA issue for every review comment created on ReviewBoard. I came across following link, where Crucible-JIRA intigration is possible. I want to know, is it possible with Review Board?

"http://www.atlassian.com/software/crucible/overview/tour/jira-issues-code-review"  

david
#3 david
There's no such feature today. We do have another bug filed about this sort of integration, so I'm going to merge this one into it.
#4 lukasz.********@gmai***** (Google Code) (Is this you? Claim this profile.)
Any plans for moving forward with JIRA integration?
chipx86
#5 chipx86
We don't have deep integration with bug trackers today, and this won't be changing until after 1.7 ships. If you'd like to work on an extension to do this, we can assist in information and helping you get started, but right now we have some crucial things on our TODO list that must come first.
#6 johnson********@gmai***** (Google Code) (Is this you? Claim this profile.)
 No sure if any progress has been made to integrate Reviewboard with Jira.I'd be more than happy to work on this extension. @Project Member, Could you please help me get started ?
david
#7 david
Nobody has been working on this, at least not publicly.

We have a bunch of documentation on writing extensions here: http://www.reviewboard.org/docs/manual/dev/extending/extensions/

The extensions framework is still relatively new, so it's possible that you may require hooks that don't exist yet. Let us know if you run into any issues.
#8 rajash*******@gmai***** (Google Code) (Is this you? Claim this profile.)
Is there a possibility to trigger external scripts (sh, perl scripts, etc.) when we perform certain operations on RB? For example, on closing a review, if we can trigger an external script with JIRA commands in it, that would be helpful without making any code changes.
#9 osw****@gmai***** (Google Code) (Is this you? Claim this profile.)
Yes, Jira has its REST API supporting various actions like issue creation, comments, query...
#10 markd*****@gmai***** (Google Code) (Is this you? Claim this profile.)
I do this with another bug tracker. I started with the RBBugTracker extension for googlecode published a few years ago. I had to update it to work with 1.7 and I added a class for the new bugtracker. RBBugTracker listens to signals that indicate reviews have been opened, closed, commented, etc. The signal handlers invoke the appropriate external scripts to update the bug tracker.

I can't seem to find the original RBBugTracker code right now, but here's a link to a code review: https://reviews.reviewboard.org/r/1914/diff/

When invoking external scripts you might want to queue them up so you don't delay the user response. I just start the external scripts with a Linux "at" command, though there are more sophisticated queue managers available.

Hope that helps