From cd7de3db22305e0b65c5877b041d584d5530d5fa Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Tue, 23 Feb 2021 12:14:52 -0500 Subject: [PATCH] Add org-jira --- emacs/.emacs.d/config/init-org.el | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/emacs/.emacs.d/config/init-org.el b/emacs/.emacs.d/config/init-org.el index 6a7b3fc..b3df3a8 100644 --- a/emacs/.emacs.d/config/init-org.el +++ b/emacs/.emacs.d/config/init-org.el @@ -47,14 +47,15 @@ ;; Nuke the header keybindings (setq org-super-agenda-header-map (make-sparse-keymap)) :custom - (org-super-agenda-groups '((:name "In progress" + (org-super-agenda-groups `((:name "In progress" :todo "IN PROGRESS") (:name "Lola" :tag "@lola") (:name "unifyDB" :tag "@unifydb") (:name "Personal" - :tag "@personal")))) + :tag "@personal") + (:name "Jira" :file-path )))) (use-package org-gcal :commands (org-gcal-sync @@ -83,4 +84,18 @@ ,(expand-file-name "~/org/j-n-gcal.org"))) org-gcal-notify-p nil)) +(use-package org-jira + :after (org) + :init + (setq jiralib-url "https://lola.atlassian.net" + org-jira-working-dir (expand-file-name "~/org/jira") + org-jira-jira-status-to-org-keyword-alist '(("To Do" . "TODO") + ("Blocked" . "BLOCKED") + ("In Progress" . "IN PROGRESS") + ("Code Review" . "IN PROGRESS") + ("Awaiting Release" . "IN PROGRESS") + ("Done" . "DONE") + ("Won't Fix" . "CANCELLED"))) + (add-to-list 'org-agenda-files org-jira-working-dir)) + (provide 'init-org)