Forums

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

Python access to API- Authentication Error

Erik Maia
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!
June 20, 2024

from __future__ import annotations


import re

from collections import Counter
from typing import cast

from jira import JIRA
from jira.client import ResultList
from jira.resources import Issue

#login
user = 'XXXX' #My login in jira
apikey = 'XX' #My Personal Token
server = 'https://XXX.atlassian.net' #company

options = {
 'server': server
}

jira = JIRA(options, token_auth=(apikey) )
Python return: response text = {"error": "Failed to parse Connect Session Auth Token"}

Python312 version

 

Please, how can I work with authentication using this python lib?

1 answer

0 votes
Nicolas Grossi
Banned
June 20, 2024

@Erik Maia Welcome! As you have an standard license you might want to contact support.atlassian.com

 

Nicolas

Suggest an answer

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

Atlassian Community Events