We've installed an configured the subversion plugin. SVN commits are being properly linked to JIRA issues. However, when looking at an issue, on the subversion tab, clicking the revision number will go to a URL like:
https://xxxx.browse.cvsdude.com/cgi-bin/siteplan$%7bpath%7d?revision=14047&pathrev=14047&view=rev
Note the $%7bpath%7d in the URL instead of the path. This results in a 404 from the ViewVC server.
The link to the file diff, however, does translate ${path} properly.
After working with Atlassian support on this issue, I discovered two relevant items.
Here are the patterns that worked for me:
Changeset Format: http://subversion.xxxx.local:81/viewvc/SS01?revision=${rev}&pathrev=${rev}&view=rev
File Added Format: http://subversion.xxxx.local:81/viewvc/SS01${path}?pathrev=${rev}
File Modified Format: http://subversion.xxxx.local:81/viewvc/SS01${path}?pathrev=${rev}&view=diff&r1=${rev}&r2=${rev-1}&diff_format=h
File Replaced Format: http://subversion.xxxx.local:81/viewvc/SS01${path}/?revision=${rev}&view=markup
File Deleted Format: http://subversion.xxxx.local:81/viewvc/SS01${path}?pathrev=${rev-1}</span<>>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I went back and forth with Atlassian on this for 15 days. They could would not acknowlege that there is a problem. Even though I'd clearly demonstrate that the problem is due to the plugin not doing a pattern/var substituion, I'd get back strange responses like "oh, it's probably an issue with you proxy server" or "it's probably a UTF-8 issue". Very frustrating, I eventually gave up.
If you want to try, feel free to reference case JSP-147757, as it details the problem very clearly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I went back and forth with Atlassian on this for 15 days. They could would not acknowlege that there is a problem. Even though I'd clearly demonstrate that the problem is due to the plugin not doing a pattern/var substituion, I'd get back strange responses like "oh, it's probably an issue with you proxy server" or "it's probably a UTF-8 issue". Very frustrating, I eventually gave up.
If you want to try, feel free to reference case JSP-147757, as it details the problem very clearly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm having the same problem.
http://subversion.xxx.local:81/viewvc$%7Bpath%7D?root=svn/SS01&revision=37270&pathrev=37270&view=rev
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.