Forums

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

JIRA-python resources.py error

smartshake
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!
April 8, 2014

First time using jira-python, and I get this error when I run just a simple initialization.

from jira.client import JIRA

jira = JIRA()

File "C:\Python32\lib\site-packages\jira\resources.py", line 146

if re.search(u"^User '(.*)' was not found in the system\.", error, re.U):

SyntaxError: invalid syntax

Any ideas?

1 answer

0 votes
Matt Ashfield November 26, 2014

options = {     'server': 'https://jira.myserver.mysite.com',     'verify': False     }

 jira = JIRA(options, basic_auth=(username,password))

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events