-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wrong-type-argument stringp replace-regexp-in-string (at ejira--parse-sprint) #38
Comments
If I undersood correctly it seems that the sprint is already parsed when giving it to Does this happen with any JIRA issue that has a sprint linkage, or just some? |
Im not sure @nyyManni, i can't use |
This maybe related with this jira project being next gen. I didn't had this problem with the previous jira project i was using (classic) |
|
It certainly looks like the "next gen" project is giving the sprint information in an alread-parsed format. Supporting it would be straightforward, though I would likely need a sample of the full json-payload returned from the API. |
@nyyManni how can i get the json payload? |
Easiest is to use a browser and go to |
@nyyManni check if you can reproduce with this json:
|
Thanks! Indeed, the sprints are pre-parsed. This would sonehow need to be dynamic, as a user can probably have both classic and next-gen projects at the same time. This should be enough for me to get with a fix. |
awesome, thanks for the help nyyManni :) |
any updates on this @nyyManni? I might be able to help if you point me in the right direction. |
My apologies for not getting back to this! I pushed a fix candidate to branch |
For me this error disappeared, but now i have another, ejira--set-todo-state: Item IOT21-1017 not found |
For the first issue I cannot say anything right away, but for the priority error: have you configured your |
Ow sorry, i had typo in my config file. Thanks a lot for your fix, now everything works perfectly! |
@nyyManni looks like i am getting a different error now
|
the OA.org looks like this
btw, i didin't omit anything its actually showing "ejira new heading" |
is a placeholder for the heading before the actual ticket summary gets loaded in. In this case an error occured somewhere between those two and thus the placeholders remain. Manually remove those headings, and use org-id-update-id-locations to sync it up. |
@nyyManni looks like the issue happens because its unable to fetch the jira card data, looks like the first id is always reported as not found. any idea on how to solve this? those ids exist on jira, so its probably another issue with new gen projects. |
Enountered the same problem after getting assigned to a next-gen project ticket. The fix solves it. |
After using
M-x ejira-update-my-projects
, i m getting this error:wrong-type-argument stringp replace-regexp-in-string (at ejira--parse-sprint)
Debug
ejira--parse-sprint(((id . 140) (name . "AB Sprint 01") (state . "active") (boardId . 11) (goal . "") (startDate . "2020-11-23T14:16:01.557Z") (endDate . "2020-11-30T03:30:00.000Z")))
Stack
The text was updated successfully, but these errors were encountered: