Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Exception Error when authentication failed

Ferdinand Cruz
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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