Skip to content

Commit

Permalink
Added calling org-jira-read-labels
Browse files Browse the repository at this point in the history
We added choosings labels at the very end of creating an issue. A user
is able to select multiple labels that will then be set on the newly
created issue.
  • Loading branch information
djgoku committed Sep 27, 2024
1 parent c295423 commit 96183d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions org-jira.el
Original file line number Diff line number Diff line change
Expand Up @@ -1802,6 +1802,7 @@ that should be bound to an issue."
(jira-users (org-jira-get-assignable-users project))
(user (completing-read "Assignee: " (mapcar 'car jira-users)))
(priority (car (rassoc (org-jira-read-priority) (jiralib-get-priorities))))
(labels (org-jira-read-labels))
(ticket-struct
`((fields
(project (key . ,project))
Expand All @@ -1815,6 +1816,7 @@ that should be bound to an issue."
"")))
(description . ,description)
(priority (id . ,priority))
(labels . ,labels)
;; accountId should be nil if Unassigned, not the key slot.
(assignee (accountId . ,(or (cdr (assoc user jira-users)) nil)))))))
ticket-struct))
Expand Down

0 comments on commit 96183d1

Please sign in to comment.