Click here to Skip to main content
13,352,428 members (37,383 online)
Click here to Skip to main content
Add your own
alternative version


22 bookmarked
Posted 30 Mar 2009

Atlassian Jira - TortoiseSVN Plugin for Issue Tracking and Easy Linking of Subversion Project with Jira Issue

, 30 Mar 2009
Rate this:
Please Sign up or sign in to vote.
Atlassian Jira - TortoiseSVN Plugin for Issue Tracking and Easy Linking of Subversion Project with Jira Issue


This application is a plugin for TortoiseSVN. It integrates into your TortoiseSVN application.

If you use Atlassian Jira for issue tracking and TortoiseSVN for subversion repository management, you may want to manage the issue when working towards copy committing. This plugin helps you at this time.

Using the Code

JiraBrowserPlg DLL is the main plugin DLL. This is the source code:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Interop.BugTraqProvider;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using JiraTortoBrowser;

namespace JiraTorto

    public class JiraTortoPlugin : IBugTraqProvider2, IBugTraqProvider
        #region IBugTraqProvider2 Members

        public string GetCommitMessage(IntPtr hParentWnd, string parameters, 
		string commonRoot, string[] pathList, string originalMessage)
            return GetCommitMessage2(hParentWnd, parameters, "", commonRoot, 
						pathList, originalMessage);

        public string GetCommitMessage2(IntPtr hParentWnd, string parameters, 
	string commonURL, string commonRoot, string[] pathList, string originalMessage)
                MainWindow window = new MainWindow();
                if (window.ShowDialog() == DialogResult.OK)
                    return (originalMessage + "\r\n" + window.SelectedIssue());
                return originalMessage;
            catch (Exception ex)

        public string GetLinkText(IntPtr hParentWnd, string parameters)
            return "Show Issues...";

        public bool HasOptions()
            return true;

        public string OnCommitFinished(IntPtr hParentWnd, string commonRoot, 
			string[] pathList, string logMessage, int revision)
            MainWindow form = new MainWindow();
            return "an error happened while closing the issue";

        public string ShowOptionsDialog(IntPtr hParentWnd, string parameters)
            frmAccountSettings settings = new frmAccountSettings();
            if (settings.ShowDialog() != DialogResult.OK)
                return "";

            string options = settings.Text;
            return options;

        public bool ValidateParameters(IntPtr hParentWnd, string parameters)
            return true;



  • 30th March, 2009: Initial post


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Ahmet Göktaş
Software Developer Istanbul Bilgi University
Turkey Turkey
- Software developer from İstanbul/Turkey
- Programmed with C#.NET, ASP.NET, ASP, PHP, T-SQL
- SQL Server Administration
- Experiencing about NHibernate

You may also be interested in...

Comments and Discussions

GeneralCombining multiple BugTraqProvider into a single project Pin
Linne Jan16-Jun-09 11:14
memberLinne Jan16-Jun-09 11:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.180111.1 | Last Updated 30 Mar 2009
Article Copyright 2009 by Ahmet Göktaş
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid