johannesjo / super-productivity

Super Productivity is an advanced todo list app with integrated Timeboxing and time tracking capabilities. It also comes with integrations for Jira, Gitlab, GitHub and Open Project.
http://super-productivity.com
MIT License
11.9k stars 921 forks source link

Issues are not syncing from Jira #636

Closed natea closed 4 years ago

natea commented 4 years ago

Your Environment

Expected Behavior

I connected my Jira instance to SuperProductivity for a project "Sales" and expected that all the issues in the current sprint would get synced into SuperProductivity, but the list of tasks is empty.

Current Behavior

I would expect that after connecting Jira to SuperProductivity, when I go to the task list, I would see all the tasks from the current sprint. This seems to be the behavior as described by the JQL:

Steps to Reproduce (for bugs)

  1. Fill out the credentials and use the URL to the project backlog in Jira (not sure if this URL is correct)
  2. Save the Jira sync settings
  3. Go to the task list for the project and see that there are no tasks that were synced
Screen Shot 2020-10-31 at 7 12 21 AM

I saw this issue: https://github.com/johannesjo/super-productivity/issues/190 So maybe the sync doesn't happen automatically but needs to be manually synced?

Console Output

Error Log (Desktop only)

natea commented 4 years ago

I quit the SuperProductivity app, and relaunched it, and now when I switch to the "SALES" project, it says:

"Unexpected token < in JSON as position 6"

Screen Shot 2020-10-31 at 7 29 27 AM
natea commented 4 years ago

I deleted everything in the URL after https://appsembler.atlassian.net/jira and now it's saying, "Jira: not found"

Screen Shot 2020-10-31 at 7 33 44 AM
natea commented 4 years ago

The JQL query that returns the correct issues in Jira, is resulting in an error "Jira: Not Found" when I try to use the same query in SuperProductivity.

Screen Shot 2020-10-31 at 7 40 56 AM
johannesjo commented 4 years ago

Hi! Thanks for reporting! Could you have a look at the console (Cmd+Alt+i) to see what the actual error looks like? Also what about adding tasks via the add-task-bar (shift +a)? Do Jira Issues show up there?

Generally, super productivity does nothing special. It just uses jiras rest api.

I deleted everything in the URL after https://appsembler.atlassian.net/jira and now it's saying

What do you mean by that? Did you remove the JQL string completely?

natea commented 4 years ago

@johannesjo thanks for your reply. I opened the console and attached a screenshot below. I get the same "Jira: not found" error when trying to add tasks.

What I meant by deleting everything in the URL is that I previously had a much longer URL because I thought I needed to reference the project, and then realized later that one can do that in the JQL statement.

Here is my JQL which returns the correct issues when I do an advanced search in Jira, but when I use the same JQL in Super Productivity, it returns the Jira: not found error.

project = "SALES" AND assignee = currentUser() AND sprint in openSprints() AND resolution = Unresolved
Screen Shot 2020-11-01 at 7 27 31 AM
natea commented 4 years ago

From this help article (a different product that also syncs with Jira), I'm wondering if the project ID needs to be an integer instead of a string? https://support.roadmunk.com/hc/en-us/articles/360043554393-Using-JQL-to-Filter-Issues

johannesjo commented 4 years ago

Also what about adding tasks via the add-task-bar (shift +a)? Do Jira Issues show up there?

Also what happens if you clear the JQL completely?

natea commented 4 years ago

If I clear out the JQL completed, I still get the same error message, "Jira: not found"

natea commented 4 years ago

It's working now. I had to remove /jira/ from the URL.

natea commented 4 years ago

You may want to add that to the documentation that for Atlassian Cloud accounts, you just need the base URL, and don't need the /jira/ part at the end.

johannesjo commented 4 years ago

Thanks for reporting back! I am glad that it works now!

natea commented 4 years ago

Thanks for all your help! I really appreciate your attention and thank you for a great tool!

On Mon, Nov 2, 2020 at 8:46 AM Johannes Millan notifications@github.com wrote:

Thanks for reporting back! I am glad that it works now!

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/johannesjo/super-productivity/issues/636#issuecomment-720481921, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA5BSHDN6ZX66WGTX7BD33SN2Z43ANCNFSM4TF2XCBA .

--

Website: http://www.appsembler.com Blog: http://www.appsembler.com/blog Twitter: http://twitter.com/natea LinkedIn: http://linkedin.com/in/natea Phone: +1 (617) 702-4331