Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,359,848
Community Members
 
Community Events
168
Community Groups

Exception Error when authentication failed

Edited

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
Community showcase
Published in Jira Software

An update on Jira Software customer feedback – June 2022

Hello Atlassian Community! Feedback from customers like you has helped us shape and improve Jira Software. As Head of Product, Jira Software, I wanted to take this opportunity to share an update on...

4,963 views 18 31
Read article

Atlassian Community Events