You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 21, 2021. It is now read-only.
Feel free to use this code I wrote the code below so i can complete the summary from a jira id usefull for commit messages and org timesheets.
How ever I notice org-jira-get-issue-by-id is not available instantly, if i run org-jira-get-issue first it works, is there something i can do to improve this ?
(defun org-jira-get-summary ()
"insert summary next to ticket id from jira"
(interactive)
(let ((jira_id (thing-at-point 'symbol)))
(forward-symbol 1)
(insert (format " - %s"
(cdr (assoc 'summary (car (org-jira-get-issue-by-id jira_id))))))))
(defun org-jira-get-summary-url ()
"insert summary next to ticket id from jira with url link"
(interactive)
(let ((jira_id (thing-at-point 'symbol)))
(sp-kill-symbol 1)
(insert (format "[[%s][%s]] - %s" (concatenate 'string jiralib-url "browse/" jira_id) jira_id
(cdr (assoc 'summary (car (org-jira-get-issue-by-id jira_id))))))))
Feel free to use this code I wrote the code below so i can complete the summary from a jira id usefull for commit messages and org timesheets.
How ever I notice org-jira-get-issue-by-id is not available instantly, if i run org-jira-get-issue first it works, is there something i can do to improve this ?