Hi
My code to get data out via the Jira cloud API did not change, last week it still worked. In the past few days it stopped working. I have tested two different accounts on atlassian.net domain. Neither work.
I have also tested this code against two self hosted Jira installations and it works.
I see some information about API's changing, but I am not sure what I should do to get accounts on atlassian.net working again.
I am using python. Any suggestions?
from jira.client import JIRA
from dynaconf import settings
# Basic Auth problem on atlassian.net domain.
USERNAME = settings.JIRA_USERNAME # os.environ["JIRA_USERNAME"]
USER_PASSWORD = settings.JIRA_PASSWORD #os.environ["JIRA_PASSWORD"]
SERVER_URL = settings.JIRA_DOMAIN #os.environ["JIRA_DOMAIN"]
options = {
'server': SERVER_URL,
'verify': True,
'basic_auth': (USERNAME, USER_PASSWORD),
}
jira = JIRA(options=options, basic_auth=(USERNAME, USER_PASSWORD))
# print all of the project keys as an example
for project in jira.projects():
print(project.key)