I can get Jira to see my Subversion repository but we're using WebSVN and all I can find about integrating this suggests it's not possible:
http://forums.atlassian.com/message.jspa?messageID=257277169
However, this is from 2008 - has there been any change since then?
Thanks.
It should be possible by modfiying the command strings where the repository is defined. You will need to look at the command line arguments for websvn and look at the Jira documentation about the substitution variables.
Something like this could work for you with modifications to mycompany and websvn version information.
#———————————
# WebClient for SVN (2.0)
#———————————
linkformat.changeset=http://svn.mycompany.net/websvn-2.2.1/revision.php?repname=source&location=/&rev=${rev}
linkformat.file.added=http://svn.mycompany.net/websvn-2.2.1/filedetails.php?repname=source&path=${path}&rev=${rev}
linkformat.file.modified=http://svn.mycompany.net/websvn-2.2.1/diff.php?repname=source&path=${path}&rev=${rev}&sc=0
linkformat.file.replaced=http://svn.mycompany.net/websvn-2.2.1/filedetails.php?repname=source&path=${path}&rev=${rev-1}&sc=0
linkformat.file.deleted=http://svn.mycompany.net/websvn-2.2.1/filedetails.php?repname=source&path=${path}&rev=${rev-1}&sc=0
linkformat.copyfrom=http://svn.mycompany.net/websvn-2.2.1/filedetails.php?repname=source&path=${path}&rev=${rev-1}&sc=0
Thanks, this works once modified (I also had to change the repository name from "source"). I had to add another link for View:
http://svn.mycompany.net/websvn-2.2.1/filedetails.php?repname=source&path=${path}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If anyone by any chance come here here are the paths we've used with current versions of WebSVN:
Changeset Format: https:// <svnpath>/<websvncontext>/listing.php?repname=<you_svn_rep_name>&peg=${rev}
File Added Format: https:// <svnpath>/<websvncontext>/listing.php?repname=<you_svn_rep_name>&path=${path}&peg=${rev}&sc=0
File Modified Format: https:// <svnpath>/<websvncontext>/listing.php?repname=<you_svn_rep_name>&path=${path}&peg=${rev}&sc=0
File Replaced Format: https:// <svnpath>/<websvncontext>/listing.php?repname=<you_svn_rep_name>&path=${path}&peg=${rev-1}&sc=0
File Deleted Format: https:// <svnpath>/<websvncontext>/listing.php?repname=<you_svn_rep_name>&path=${path}&peg=${rev-1}&sc=0
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is possible as above, however you should take the patch that allows you to use the repo name as a parameter to avoid hard-coding it as in Norman's example, think it's this one: https://studio.plugins.atlassian.com/browse/SVN-35
Not a big deal if you have one or two repos but if you have thousands like some svn users it's a must-have.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.