setup JIRA subversion plugin with svn+ssh

I want to setup JIRA subversion plugin to integrate with our version control system, which is subversion. However, our company is using svn+ssh protocal for our subversion server. The standard JIRA subversion plugin doesn't work because it is not supported. 

  • Supports file, http, https and svn protocols. Please note, the plugin currently does not support svn+ssh protocol (public/private key authentication)

However, I found a fork  https://marketplace.atlassian.com/plugins/pbeltranl.subversion.jira.pbeltranl-jira-subversion-plugin which supports this, I am having a lot of difficulty in getting it to work. 

Eventaully, I am able to make it work so I want to share with others. 

Here is the screen for configuring the subversion repository. I want to highlight a few things:

  • Make sure that you have the proper repository root, with svn+ssh in front.
  • The protocol key file should be your private key file.
  • The most critical one: make sure you key in the username under the Basic Authentication, although SSH is the one being used. It took me half a day to figure this out and I keep wondering why.