org-jira.el 1.8 KB

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