I'm trying to setup (initialize) the Jira command-line client, but when I run "jira init" it asks me for my type, server, and email ... and then gives me a 401 error even though my credentials are valid.
$ jira init
? Installation type: Cloud
? Link to Jira server: https://mycompany.atlassian.net
? Login email: myname@mycompany
✗ Received unexpected response '401 Unauthorized' from jira. Please try again.
I also get the error if I use a Jira server of https://api.atlassian.com/ex/jira/mycloudid
All I want to do is use the command line tool, but Jira just gives absolutely useless error messages, and the docs pages are useless too (they said to use the other URL format, but it didn't help).
Does anyone know how to specify a server that won't give me a 401 when I enter my email? I have an active Jira account, I swear!