0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-20 17:10:30 +00:00
org-mode/contrib/lisp/org-jira.el
Bastien Guerry 6e534f9c61 Manually revert back to commit e85080.
This fixes a wrong merge that should not have happened:
commit 7e903a merges the master branch into the maint branch,
while we really want to keep the maint branch a bugfix-only
branch.

This commit reverts back the maint branch to its state before
merging the master branch.  From there, we will fix remaining
problems with the maint branch (e.g. copyright issues) then
release this maint branch as Org-mode 7.8.05.
2012-03-17 14:34:01 +01:00

66 lines
1.8 KiB
EmacsLisp

;;; org-jira.el --- add a jira:ticket protocol to Org
(defconst org-jira-version "0.1")
;; Copyright (C) 2008-2011 Jonathan Arkell.
;; 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.
;; For a copy of the GNU General Public License, search the Internet,
;; or write to the Free Software Foundation, Inc., 59 Temple Place,
;; Suite 330, Boston, MA 02111-1307 USA
;;; 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