Match up org-mode TODO keywords with JIRA statuses

This commit is contained in:
Jeremy Dormitzer 2020-06-14 12:25:51 -04:00
parent 46a3d7cdbe
commit 1c6ab31669

View File

@ -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)