On Wed, 2010-01-20 at 00:11 +0530, vishwajeet singh wrote:
> 
> 
> On Tue, Jan 19, 2010 at 11:59 PM, Dave Levitt <dave.lev...@gmail.com>
> wrote:
>         On Tue, Jan 12, 2010 at 1:53 PM, Aaron Turner
>         <synfina...@gmail.com> wrote:
>         > Hi Everyone,
>         >
>         > My company is moving from Trac (which has excellent SVN
>         integration)
>         > to Jira which seems to be a bit lacking.  One big issue is
>         that we'd
>         > like people who are watching a ticket get a notification of
>         the commit
>         > when a commit references that ticket.  Jira doesn't seem to
>         support
>         > that natively and most of our users don't want to be
>         notified about
>         > *every* commit- just the commits referencing tickets they
>         care about.
>         >
>         > I was hoping someone here was aware of a svn hook script
>         which
>         > implements this feature?
>         >
>         > Thanks,
>         > Aaron
>         >
>         > --
>         > Aaron Turner
>         > http://synfin.net/
>         > http://tcpreplay.synfin.net/ - Pcap editing and replay tools
>         for Unix & Windows
>         > Those who would give up essential Liberty, to purchase a
>         little temporary
>         > Safety, deserve neither Liberty nor Safety.
>         >    -- Benjamin Franklin
>         > "carpe diem quam minimum credula postero"
>         >
>         
>         As I recall, Jira has a subversion  plugin that looks for Jira
>         issue
>         numbers [e.g. FOO-123] in the body of the log message. Folks
>         watching
>         the FOO-123 issue would receive a notification from Jira a few
>         minutes
>         after the commit.
>         
>         The Jira svn plugin is located at
>         https://plugins.atlassian.com/plugin/details/291
> 
> 
> Thats true that Subversion plugin looks for issue numbers in log but
> it does not trigger any notification if it finds one.
> and also there is no way to do this out of the box in Jira. 

For my company, I have to modify the JIRA Subversion plugin so that
a repository hook sends revision information to JIRA commit index
(instead of JIRA system polling repository revisions).
Reasons: a firewall between systems, heavy repository configuration at
JIRA server side.

Implementation details:
- the post-commit hook is configured with expected patterns in log
message
- when a log matches, revision details are sent to JIRA Subversion
plugin SOAP service
- a specific event is triggered on matching tickets
- this event is used in notification scheme to configure recipients

Only ideas for the moment. No schedule yet.


Reply via email to