Hi,
I have joined Atlassian Jira Software with Standard Plan.
I have created a project called QTIM and created an issue under that. I have created API Token as well.
I am trying to get jira instance of my issue with below python code.
jira_options = {
'server': jira_url,
'auth': (jira_email, jira_api_token)
}
try:
jira_client = JIRA(options=jira_options)
print(jira_client.user) # Example API call using the client
print("Getting issue")
# Get all projects viewable by anonymous users.
projects = jira_client.projects()
print(projects)
issue = jira_client.issue(issue_key)
print("success")
except Exception as err:
print("Error:", err) Here I am getting projectss as empty and unable to get issue instance later.
can anyone help please
regards
Mallika