fix: Put task story-ids in a format we can read
Make task headline story-ids links just like the IDs for the story headlines are, so that they can later be read by org-clubhouse-extract-story-id - this fixes task status updating, which was broken.
This commit is contained in:
parent
d29c5c0df6
commit
7ce8b48fd5
1 changed files with 4 additions and 2 deletions
|
@ -909,8 +909,10 @@ contents of a drawer inside the element called DESCRIPTION, if any."
|
||||||
"TODO" "DONE")
|
"TODO" "DONE")
|
||||||
(alist-get 'description task)
|
(alist-get 'description task)
|
||||||
(alist-get 'id task)
|
(alist-get 'id task)
|
||||||
(org-clubhouse-link-to-story
|
(let ((story-id (alist-get 'story_id task)))
|
||||||
(alist-get 'story_id task))))
|
(org-make-link-string
|
||||||
|
(org-clubhouse-link-to-story story-id)
|
||||||
|
story-id))))
|
||||||
|
|
||||||
(defun org-clubhouse--story-to-headline-text (level story)
|
(defun org-clubhouse--story-to-headline-text (level story)
|
||||||
(let ((story-id (alist-get 'id story)))
|
(let ((story-id (alist-get 'id story)))
|
||||||
|
|
Loading…
Reference in a new issue