The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

WebSVN - jira subversion plugin

Alex Perez
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
April 25, 2013

Hello!

The jira subversion plugin seems to be preficored for ViewVC, FishEye and SVNWebClient, but wich URL patterns can I use to have it configured against a WebSVN server?

I can't have all the linktypes (file added, modified, replaced, view, ...) configured ... Anyone using WebSVN can share it's configuration?

Thx.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
April 25, 2013

I do it programatically, however the relevant strings you need are below.

However, you need to, or at least you needed to, patch the plugin to make it understand ${repo}. You can find instructions for this somewhere. Otherwise you can just hard-code repo to the repo name I guess.

setChangeSetFormat(webSvnUrl + '/revision.php?repname=${repo}&location=/&rev=${rev}')
        setFileAddedFormat(webSvnUrl + '/filedetails.php?repname=${repo}&path=${path}&rev=${rev}')
        setFileModifiedFormat(webSvnUrl + '/diff.php?repname=${repo}&path=${path}&rev=${rev}&sc=0')
        setFileReplacedFormat(webSvnUrl + '/filedetails.php?repname=${repo}&path=${path}&rev=${rev-1}&sc=0')
        setFileDeletedFormat(webSvnUrl + '/filedetails.php?repname=${repo}&path=${path}&rev=${rev-1}&sc=0')

Felipe Alvarez
May 10, 2016

How does one achieve doing this "programmatically". I would like a fast simple automated way to link jira and websvn. Thanks.