Exception Error when authentication failed

Ferdinand Cruz September 12, 2022

I'm trying to fail a connection authentication using atlassian package but it doesn't show anything even a pass or fail token. I previously use jira package. it's failing and JIRAError is raised. 

===OLD

from jira.client import JIRA

jira = JIRA(options={'server': 'https://ferdz-tests.atlassian.net'},basic_auth=('', ''))

raised error is JIRAError if failure on the authentication


===New code

from atlassian import Jira
jira = Jira(url='https://ferdz-tests.atlassian.net','','')
nothing happens even if it failed.

I want to know what kind of error is being raised on the new code. Hope you could help me.
thank you.

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events