GothenburgBitFactory / bugwarrior

Pull github, bitbucket, and trac issues into taskwarrior
http://pypi.python.org/pypi/bugwarrior
GNU General Public License v3.0
743 stars 208 forks source link

JIRA: Basic authentication with passwords is deprecated. #750

Closed StephanMeijer closed 2 years ago

StephanMeijer commented 4 years ago
$ curl -u "EMAIL:PASSWORD" -X GET -H "Content-Type: application/json" "https://BASEURI/rest/api/latest/serverInfo"
Basic authentication with passwords is deprecated.  For more information, see: https://confluence.atlassian.com/cloud/deprecation-of-basic-authentication-with-passwords-for-jira-and-confluence-apis-972355348.html
INFO:bugwarrior.db:Service-defined UDAs exist: you can optionally use the `bugwarrior-uda` command to export a list of UDAs you can add to your taskrc file.
INFO:bugwarrior.services:Starting to aggregate remote issues.
INFO:bugwarrior.services:Spawning 1 workers.
INFO:bugwarrior.services:Working on [jira]
WARNING:root:Got recoverable error from GET https://digibri.atlassian.net/rest/api/latest/serverInfo, will retry [1/3] in 14.381403073578113s. Err: 401 Unauthorized
StephanMeijer commented 4 years ago

I will be fixing this bug myself.

ryneeverett commented 4 years ago

Beyond documentation, perhaps we should make a call to self.jira.server_info() in JiraService.__init__ so we can pass the warnings through to bugwarrior users?

StephanMeijer commented 4 years ago

Beyond documentation, perhaps we should make a call to self.jira.server_info() in JiraService.__init__ so we can pass the warnings through to bugwarrior users?

Yeah maybe. Shall we seperate it into a new ticket?

ryneeverett commented 4 years ago

We can open a new ticket or leave this one open.

twaugh commented 2 years ago

See also #853.

Miuler commented 2 years ago

I will be fixing this bug myself.

@StephanMeijer Please create pull request in upstream repo

ryneeverett commented 2 years ago

@Miuler Is there anything we ought to do here besides improving the error message?

Miuler commented 2 years ago

@Miuler Is there anything we ought to do here besides improving the error message?

@ryneeverett It's just documentation, use the created token instead of the real password