Open MateusZ36 opened 1 week ago
Can you please try:
jira_instance = JIRA(
server='https://XXX.atlassian.net/',
basic_auth=(<username/email here>, <token here>),
)
and see if that works?
This way it doesn't give any error when instancing but later when trying to, for example: jira_instance.myself()
or jira_instance.issue()
it does
I'm getting the token trough OAuth 2.0 (3LO) apps, idk if this helps
Update: I was able to create an instance using this:
JIRA(
server=f"https://api.atlassian.com/ex/jira/{cloud_id}",
token_auth=access_token,
validate=False
)
there are a few enpoints, like myself()
that doesnt work because of the base URL but I can manage that
Bug summary
I tried doing something like this:
I'm getting the folowing error:
the access token is valid, normal requests to te API works.
Is there an existing issue for this?
Jira Instance type
Jira Cloud (Hosted by Atlassian)
Jira instance version
No response
jira-python version
3.8.0
Python Interpreter version
3.12
Which operating systems have you used?
Reproduction steps
Stack trace
Expected behaviour
It should authenticate and let me use the instance.
Additional Context
No response