From 59b63d7583bb7e25d5395a2d0523af6e1126809c Mon Sep 17 00:00:00 2001
From: Matthew Kosarek <mattkae@protonmail.com>
Date: Wed, 19 Jul 2023 11:36:23 -0400
Subject: Org roam template for issues

---
 lisp/org-custom.el | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/lisp/org-custom.el b/lisp/org-custom.el
index 30e76c4..df0a8aa 100644
--- a/lisp/org-custom.el
+++ b/lisp/org-custom.el
@@ -1,4 +1,4 @@
-
+;
 ;;; Code:
 
 (require 'org)
@@ -78,6 +78,15 @@
          "* %?"
          :target (file+head "%<%Y-%m-%d>.org"
                             "#+title: %<%Y-%m-%d> 📰 \n#+filetags: :dailies:\n\n* Timeline\n\n* Notes\n\n* Questions\n\n"))))
+  (setq org-roam-capture-templates
+        '(("d" "default" plain
+           "%?"
+           :if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n")
+           :unnarrowed t)
+          ("i" "issue" plain
+           "\n\n* Links 🔗\n- *Ticket*: \n- *JIRA*: \n- *Pull Request*: \n\n* Goals ⚽\n\n* TODOs 🔏\n\n* Observations 🔭 \n\n* Code structure 🏠\n\n* Possible Solutions 🤔\n\n* Resources 🔧\n\n"
+           :if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title} 🎫\n #+filetags: :issues:ticket:project:canonical\n")
+           :unnarrowed t)))
   (org-roam-setup)
   )
 
-- 
cgit v1.2.1