org-jira.el 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. ;; You should have received a copy of the GNU General Public License
  14. ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
  15. ;;; Commentary:
  16. ;; This adds a jira protocol to org mode.
  17. ;;; Commands:
  18. ;;
  19. ;; Below are complete command list:
  20. ;;
  21. ;;
  22. ;;; Customizable Options:
  23. ;;
  24. ;; Below are customizable option list:
  25. ;;
  26. ;; I had initially planned on adding bi-directional linking, so you
  27. ;; could store links from a jira ticket. I also wanted to import
  28. ;; tickets assigned to you as a task. However, I am no longer working
  29. ;; with JIRA, so this is now abandonware.
  30. ;;; Installation:
  31. ;; Put org-jira.el somewhere in your load-path.
  32. ;; (Use M-x show-variable RET load-path to see what your load path is.)
  33. ;; Add this to your emacs init file, preferably after you load org mode.
  34. ;(require 'org-jira)
  35. ;;; TODO:
  36. ;; - bi-directional links
  37. ;; - deeper importing, like tasks...?
  38. ;;; CHANGELOG:
  39. ;; v 0.2 - ran through checkdoc
  40. ;; - Abandoned.
  41. ;; v 0.1 - Initial release
  42. (require 'jira)
  43. (org-add-link-type "jira" 'org-jira-open)
  44. (defun org-jira-open (path)
  45. "Open a Jira Link from PATH."
  46. (jira-show-issue path))
  47. (provide 'org-jira)
  48. ;;; org-jira.el ends here