From 1c6ab31669a435714878a291c830ba24c8755fbf Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Sun, 14 Jun 2020 12:25:51 -0400 Subject: [PATCH] Match up org-mode TODO keywords with JIRA statuses --- emacs/init.org | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/emacs/init.org b/emacs/init.org index f1f01d0..6a0ad7c 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -1574,8 +1574,8 @@ A function to add ids to every heading in an Org file: ** Todo keywords #+BEGIN_SRC emacs-lisp - (setq org-todo-keywords - '((sequence "TODO(t)" "WAITING(w)" "|" "DONE(d)" "CANCELLED(c)"))) + (setq org-todo-keywords + '((sequence "TODO(t)" "IN PROGRESS(i)" "BLOCKED(b)" "|" "DONE(d)" "CANCELLED(c)"))) #+END_SRC ** Agenda views @@ -2260,14 +2260,14 @@ nice with Org-roam: (use-package org-super-agenda :init (setq org-super-agenda-groups - '((:name "Today" - :tag "today") - (:name "Lola" - :tag "@lola") - (:name "unifyDB" - :tag "@unifydb") - (:name "Personal" - :tag "@personal"))) + '((:name "In progress" + :todo "IN PROGRESS") + (:name "Lola" + :tag "@lola") + (:name "unifyDB" + :tag "@unifydb") + (:name "Personal" + :tag "@personal"))) (org-super-agenda-mode) :config (setq org-super-agenda-header-map (make-sparse-keymap))) @@ -6515,7 +6515,13 @@ Jira in Emacs: :init (setq jiralib-url "https://lola.atlassian.net" org-jira-working-dir (concat (get-dropbox-directory) "/org/jira") - org-jira-jira-status-to-org-keyword-alist '(("Won't Fix" . "CANCELLED"))) + 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) (add-to-list 'org-super-agenda-groups `(:name "Jira" :file-path ,org-jira-working-dir)