2009-06-06 01:59:19 -04:00
|
|
|
;;; org-jira.el --- add a jira:ticket protocol to Org
|
2009-06-05 03:02:55 -04:00
|
|
|
(defconst org-jira-version "0.1")
|
2013-01-01 10:04:24 -05:00
|
|
|
;; Copyright (C) 2008-2013 Jonathan Arkell.
|
2009-06-05 03:02:55 -04:00
|
|
|
;; Author: Jonathan Arkell <jonnay@jonnay.net>
|
|
|
|
|
|
|
|
;; This file is not part of GNU Emacs.
|
|
|
|
|
|
|
|
;; This program is free software; you can redistribute it and/or
|
|
|
|
;; modify it under the terms of the GNU General Public License as
|
|
|
|
;; published by the Free Software Foundation version 2.
|
|
|
|
|
|
|
|
;; This program is distributed in the hope that it will be useful, but
|
|
|
|
;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
;; General Public License for more details.
|
|
|
|
|
2013-03-10 12:57:47 -04:00
|
|
|
;; You should have received a copy of the GNU General Public License
|
|
|
|
;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
|
2009-06-05 03:02:55 -04:00
|
|
|
|
|
|
|
;;; Commentary:
|
|
|
|
;; This adds a jira protocol to org mode.
|
|
|
|
|
|
|
|
;;; Commands:
|
|
|
|
;;
|
|
|
|
;; Below are complete command list:
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
;;; Customizable Options:
|
|
|
|
;;
|
|
|
|
;; Below are customizable option list:
|
|
|
|
;;
|
|
|
|
|
|
|
|
;; I had initially planned on adding bi-directional linking, so you
|
|
|
|
;; could store links from a jira ticket. I also wanted to import
|
|
|
|
;; tickets assigned to you as a task. However, I am no longer working
|
|
|
|
;; with JIRA, so this is now abandonware.
|
|
|
|
|
|
|
|
;;; Installation:
|
|
|
|
;; Put org-jira.el somewhere in your load-path.
|
|
|
|
;; (Use M-x show-variable RET load-path to see what your load path is.)
|
|
|
|
;; Add this to your emacs init file, preferably after you load org mode.
|
|
|
|
;(require 'org-jira)
|
|
|
|
|
|
|
|
;;; TODO:
|
|
|
|
;; - bi-directional links
|
|
|
|
;; - deeper importing, like tasks...?
|
|
|
|
|
|
|
|
;;; CHANGELOG:
|
|
|
|
;; v 0.2 - ran through checkdoc
|
|
|
|
;; - Abandoned.
|
|
|
|
;; v 0.1 - Initial release
|
|
|
|
|
|
|
|
(require 'jira)
|
|
|
|
|
|
|
|
(org-add-link-type "jira" 'org-jira-open)
|
|
|
|
|
|
|
|
(defun org-jira-open (path)
|
|
|
|
"Open a Jira Link from PATH."
|
|
|
|
(jira-show-issue path))
|
|
|
|
|
|
|
|
|
|
|
|
(provide 'org-jira)
|
|
|
|
|
|
|
|
;;; org-jira.el ends here
|