Merge branch 'maint'
[org-mode/org-tableheadings.git] / contrib / lisp / org-jira.el
blob43edd08817d9475b51131fdb6a2860f3cc4e8364
1 ;;; org-jira.el --- add a jira:ticket protocol to Org
2 (defconst org-jira-version "0.1")
3 ;; Copyright (C) 2008-2014 Jonathan Arkell.
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 ;; You should have received a copy of the GNU General Public License
18 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
20 ;;; Commentary:
21 ;; This adds a jira protocol to org mode.
23 ;;; Commands:
25 ;; Below are complete command list:
28 ;;; Customizable Options:
30 ;; Below are customizable option list:
33 ;; I had initially planned on adding bi-directional linking, so you
34 ;; could store links from a jira ticket. I also wanted to import
35 ;; tickets assigned to you as a task. However, I am no longer working
36 ;; with JIRA, so this is now abandonware.
38 ;;; Installation:
39 ;; Put org-jira.el somewhere in your load-path.
40 ;; (Use M-x show-variable RET load-path to see what your load path is.)
41 ;; Add this to your emacs init file, preferably after you load org mode.
42 ;(require 'org-jira)
44 ;;; TODO:
45 ;; - bi-directional links
46 ;; - deeper importing, like tasks...?
48 ;;; CHANGELOG:
49 ;; v 0.2 - ran through checkdoc
50 ;; - Abandoned.
51 ;; v 0.1 - Initial release
53 (require 'jira)
55 (org-add-link-type "jira" 'org-jira-open)
57 (defun org-jira-open (path)
58 "Open a Jira Link from PATH."
59 (jira-show-issue path))
62 (provide 'org-jira)
64 ;;; org-jira.el ends here