From 1b0cfae9fdf7c54ffafa667d904ca73c08fc1e6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Arbez-Gindre?= Date: Fri, 22 Jul 2022 16:31:38 +0200 Subject: [PATCH] Update "labels" fields on org-jira-update-issue call. Fix #305. --- org-jira.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/org-jira.el b/org-jira.el index 033abc2..25f2c99 100644 --- a/org-jira.el +++ b/org-jira.el @@ -2184,6 +2184,7 @@ otherwise it should return: (ensure-on-issue-id-with-filename issue-id filename ;; Set up a bunch of values from the org content (let* ((org-issue-components (org-jira-get-issue-val-from-org 'components)) + (org-issue-labels (org-jira-get-issue-val-from-org 'labels)) (org-issue-description (org-trim (org-jira-get-issue-val-from-org 'description))) (org-issue-priority (org-jira-get-issue-val-from-org 'priority)) (org-issue-type (org-jira-get-issue-val-from-org 'type)) @@ -2209,6 +2210,7 @@ otherwise it should return: (or (org-jira-build-components-list project-components org-issue-components) [])) + (cons 'labels (split-string org-issue-labels ",\\s *")) (cons 'priority (org-jira-get-id-name-alist org-issue-priority (jiralib-get-priorities))) (cons 'description org-issue-description)