1 ;;; org-jira.el --- add a jira:ticket protocol to Org
2 (defconst org-jira-version
"0.1")
3 ;; Copyright (c)2008 Jonathan Arkell. (by)(nc)(sa) Some rights reserved.
4 ;; Author: Jonathan Arkell <jonnay@jonnay.net>
6 ;; This file is not part of GNU Emacs.
8 ;; This program is free software; you can redistribute it and/or
9 ;; modify it under the terms of the GNU General Public License as
10 ;; published by the Free Software Foundation version 2.
12 ;; This program is distributed in the hope that it will be useful, but
13 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
14 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 ;; General Public License for more details.
17 ;; For a copy of the GNU General Public License, search the Internet,
18 ;; or write to the Free Software Foundation, Inc., 59 Temple Place,
19 ;; Suite 330, Boston, MA 02111-1307 USA
22 ;; This adds a jira protocol to org mode.
26 ;; Below are complete command list:
29 ;;; Customizable Options:
31 ;; Below are customizable option list:
34 ;; I had initially planned on adding bi-directional linking, so you
35 ;; could store links from a jira ticket. I also wanted to import
36 ;; tickets assigned to you as a task. However, I am no longer working
37 ;; with JIRA, so this is now abandonware.
40 ;; Put org-jira.el somewhere in your load-path.
41 ;; (Use M-x show-variable RET load-path to see what your load path is.)
42 ;; Add this to your emacs init file, preferably after you load org mode.
46 ;; - bi-directional links
47 ;; - deeper importing, like tasks...?
50 ;; v 0.2 - ran through checkdoc
52 ;; v 0.1 - Initial release
56 (org-add-link-type "jira" 'org-jira-open
)
58 (defun org-jira-open (path)
59 "Open a Jira Link from PATH."
60 (jira-show-issue path
))
65 ;;; org-jira.el ends here