about summary refs log tree commit diff
path: root/users/grfn/emacs.d
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2021-06-16T14·47-0400
committergrfn <grfn@gws.fyi>2021-06-16T14·51+0000
commit91c71b380808c4e1c673e1ee96fe9b7bcf743b72 (patch)
tree47a4873169e91dac442b8746cd2c8f047556bc83 /users/grfn/emacs.d
parent6b0e70501f0ef362a1951c9c3fee0ff808fc427c (diff)
feat(gs/emacs): Add command to pull down all assigned JIRA tickets r/2668
as org-mode headlines, using org-tracker-headlines-from-assigned-to-me

Change-Id: Ie2ce8ec768702a71fb74c36024a3974c2d675571
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3214
Reviewed-by: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/grfn/emacs.d')
-rw-r--r--users/grfn/emacs.d/config.el8
1 files changed, 7 insertions, 1 deletions
diff --git a/users/grfn/emacs.d/config.el b/users/grfn/emacs.d/config.el
index a52c6fb85c6e..5b41c28a0f20 100644
--- a/users/grfn/emacs.d/config.el
+++ b/users/grfn/emacs.d/config.el
@@ -237,7 +237,13 @@
                                   ("DONE" . "Done"))
         org-tracker-username "griffin@readyset.io"
         org-tracker-claim-ticket-on-status-update '("ACTIVE" "PR" "DONE")
-        org-tracker-create-stories-with-labels 'existing))
+        org-tracker-create-stories-with-labels 'existing)
+
+  (defun org-tracker-headlines-from-assigned-to-me (level)
+    (interactive "*nLevel: ")
+    (org-tracker-headlines-from-search
+     level
+     "assignee = currentUser() and statusCategory = 2")))
 
 (load! "+private")