Skip to content

Commit

Permalink
Merge pull request nyyManni#41 from nightscape/patch-1
Browse files Browse the repository at this point in the history
Add opening current issue in an external browser
  • Loading branch information
nyyManni authored Mar 5, 2021
2 parents 8675aae + d20fab2 commit a1d46d6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ejira.el
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,12 @@ description, and for the comment the body."
(ejira--get-heading-body
(ejira--find-task-subheading id ejira-description-heading-name))))))))

(defun ejira-browse-issue-under-point ()
"Open the current issue in external browser."
(interactive)
(browse-url (concat (replace-regexp-in-string "/*$" "" jiralib2-url) "/browse/" (ejira-issue-id-under-point))))


(defun ejira--heading-to-item (heading project-id type &rest args)
"Create an item from HEADING of TYPE into PROJECT-ID with parameters ARGS."
(let* ((summary (ejira--strip-properties (org-get-heading t t t t)))
Expand Down

0 comments on commit a1d46d6

Please sign in to comment.