nyyManni / ejira

Emacs JIRA integration
GNU General Public License v3.0
255 stars 36 forks source link

ejira-update-my-projects not working #43

Closed jjpark78 closed 2 years ago

jjpark78 commented 2 years ago

i think my setup is has no problem.

config.el

(package! ejira
  :recipe
  (:host github
   :repo "nyyManni/ejira"
   :files ("*.el")
   ))

and

  (use-package ejira
    :init
    (setq jiralib2-url             XXXXXX
          jiralib2-auth            'basic
          jiralib2-user-login-name XXXXXX
          jiralib2-token           nil
          ejira-org-directory      "~/org"
          ejira-projects           '("XXXXXX XXXXX XXXX XX X")
          ejira-priorities-alist   '(("Highest" . ?A)
                                     ("High"    . ?B)
                                     ("Medium"  . ?C)
                                     ("Low"     . ?D)
                                     ("Lowest"  . ?E))
          ejira-todo-states-alist  '(("TO Do"       . 1)
                                     ("In Progress" . 2)
                                     ("Done"        . 3)))
    :config
    (add-hook 'jiralib2-post-login-hook #'ejira-guess-epic-sprint-fields)
    (require 'ejira-agenda)
    (add-to-list 'org-agenda-files ejira-org-directory)
    (org-add-agenda-custom-command
     '("j" "My Jira Issues"
       ((ejira-jql "resolution = unresolved and assignee = currentUser()"
                   ((org-agenda-overriding-header "Jira Assigned to me")))))))

with this config. (just like as README.md's configuration) after launch emacs run commands "jiralib2-verify-setup" result as follow.

Successfully logged in

Username:  XXX
Full Name: XXX
Email:     XXXXX@XXXXX.XX.XX

but when execute "ejira-update-y-projects"

Message Buffer

condition-case: Error in a Doom startup hook: jiralib2-post-login-hook, ejira-guess-epic-sprint-fields, (user-error "Request failed: invalid request: ((errorMessages No content to map to Object due to end of input))")

how can i resolve this problem??

utrack commented 2 years ago

Same here - I don't get any errors, but my project file is empty. That's all I have in it:

:PROPERTIES:
:ID:       JT
:END:
#+STARTUP: showeverything* <ejira new heading>* <ejira new heading>

EDIT: I've managed to pull the project, but there was a bug - I'll open a separate issue.