steyep / alfred-jira

Alfred 3 (or Alfred 2) workflow for interacting with JIRA.
270 stars 60 forks source link

Can't login (401 error) on next-gen Jira cloud #111

Closed rdickert closed 4 years ago

rdickert commented 4 years ago

This plugin looks really cool. Thanks for your effort on this! Unfortunately, I haven't figured out how to get started. It could totally be me, but I've tried pretty thoroughly. Salient facts

Debug output has no useful information. I'm a js coder but haven't figured out how to log more details from the 401 message (if indeed there is anything to learn).

Any thoughts? If I solve anything, I'll contribute it back to the project, but I don't currently know how to set up dev.

mjameswh commented 4 years ago

Just faced the same issue.

This is due to Atlasian's deprecation of basic authentication with passwords, as described here. What it means is that you can no longer use your username and password as credentials to make request through Jira's REST API.

But don't worry, the solution is simple enough: you just need to create an API token for your account, as described on this page. Then, you login using your username and that token (instead of your password).

James Watkins-Harvey

rdickert commented 4 years ago

That worked, thank you @mjameswh!