Integration of JIRA with TortoiseSVN

Could anyone specify the ways to integrate JIRA with TortoiseSVN to track the issue details? What URL should be specified in URL section, what are the other parameters needed? Is there anything you have to do on JIRA side to ensure the integration?

  • How to get all SVN commits that do not include Jira bug key in the comment?
  • how to read BitBucket/Stash branches and their linked JIRA tickets with Java
  • How do I get all git commits using Jenkins multiple scm plugin with git
  • JIRA: How to make a webhook fire for only a single transition, of a workflow?
  • Merging Branches from Git
  • Integrate TFS git source control and JIRA
  • Subversion equivalent of “git add .”?
  • How can I view the version tree for a file in SVN which shows the merges from branches back to trunk?
  • AnkhSVN keeps marking .designer.cs files as newly added
  • How to determine a developer's total contribution to SubVersion?
  • git-svn died of signal 10 on OSX
  • git record-only merge / whitelist known breaks from interbranch diff report
  • 5 Solutions collect form web for “Integration of JIRA with TortoiseSVN”

    I had lots of problems when reading TortoiseSVN documentation on the subject. Here are my findings about the integration. To integrate Jira and TortoiseSvn, a set of instructions should be performed. This guide suppose that your jira server is available through this url: http://192.168.10.10:8090. In addition, suppose that your project name in Jira is SVNTEST.

    1. Install svn plugin for jira on your jira server. use this link for more info.
    2. Install the Jira plug-in for TortoiseSvn in your clients. It can be downloaded from this link or this one.
    3. For all the folders in your repository, set the flowing properties:

    enter image description here

    Add Jira setting to your TortoiseSvn. To do this follow the steps below:

    • Right click on your code folder and from the TortoiseSvn menu, select settings item.
    • Under hook scripts click on issue tracking integration.
    • Click the Add button.
    • Under the working copy path, enter the path of your source code.
    • Under the provided select the only available item namely CSharpTest.Net.SvnPlugIn.MyPulgIn
    • Under the parameters, enter the url of your Jira server, i.e. http://192.168.10.10:8090.
    • After confirming the dialog, enter the username and password of your Jira server.
    • To test whether the installation is complete, try to commit a set of changes. In the commit dialog, you should see a button namely Jira Issues. By selecting it, you should see your Jira issues within a new dialog.

    Following the advice of @Avi, here are the details for integration with JIRA:

    1. Set the following properties on the directory for which you want the integration to JIRA:

      • bugtraq:url: Example could be http://my.server.url/jira/browse/<PREFIX-FOR-JIRA>-%BUGID%. Please fill in the right information for my.server.url and <PREFIX-FOR-JIRA>. If you want to map for all projects in JIRA, the string could be .../browse/%BUGID%.
      • bugtrac:logregex: Regular expression for you JIRA Id. Depends on what you want to match, for all project use /w+\-(\d+)

      There are other alternatives for defining the properties, but these should do it.

    2. Commit your changes to the svn properties, so that the properties will be included for all people doing a checkout of the same directory.
    3. When doing now a commit on some of the files in the directory or subdirectories, include there the issue tag in the log message of Subversion.
    4. TortoiseSVN will now show a hyperlink in the log message, when you open the log of the files or directories.

    If you would like to integrate JIRA as well with Subversion, there is a documentation how to integrate Subversion into JIRA. You have to install then the Subversion JIRA plugin in JIRA.

    Just to add to @mliebelt’s answer.

    svn propset "bugtraq:logregex" "([A-Z]+\-\d+)" .
    svn propset "bugtraq:number" "false" .
    svn propset "bugtraq:url" "http://jira.company.com/browse/%%BUGID%%" .
    svn propset "jira:url" "http://jira.company.com" .
    

    TortoiseSVN has excellent documentation. Since the question isn’t about integration with a specific issue tracker, I don’t think I can do any better than the page on Integration with Issue Trackers.

    In JIRA 7.1 support of SOAP web-service has been ended and RPC plugin was deprecated and REST is used instead of SOAP so you can’t use the the plugin written by csharptest.net.

    A generous developer write a new plugin for TortoiseSVN which support REST. You can find it here.

    Git Baby is a git and github fan, let's start git clone.