Integration of JIRA with TortoiseSVN

后端 未结 5 1921
面向向阳花
面向向阳花 2021-01-30 23:42

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? I

相关标签:
5条回答
  • 2021-01-31 00:32

    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.

    0 讨论(0)
  • 2021-01-31 00:38

    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.
    0 讨论(0)
  • 2021-01-31 00:40

    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" .
    
    0 讨论(0)
  • 2021-01-31 00:40

    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.

    0 讨论(0)
  • 2021-01-31 00:44

    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.

    0 讨论(0)
提交回复
热议问题