We are doing some tests with jira-python 0.31 and we are connecting to our server with basic_auth. The documentation says: "At initialization time, jira-python can optionally create an HTTP BASIC or use OAuth 1.0a access tokens for user authentication. These sessions will apply to all subsequent calls to the JIRA object."
But we find that each time that our scripts perform a search or create an issue a new session is stablished (our test user have reached about 100k logins). The client.jira.JIRA constructor is called only once.
Our environment is:
JIRA server v6.1.7
Windows7 64, Python 2.7.8, 'bitstring==3.1.3', 'certifi==14.05.14', 'filemagic==1.6', 'httplib2==0.9', 'ipython==2.2.0', 'jira==0.31', 'libmagic==1.0', 'oauth2==1.5.211', 'oauthlib==0.6.3', 'plumbum==1.4.2', 'psycopg2==2.5.3', 'pycrypto==2.6', 'pygments==1.6', 'pypm==1.4.3', 'pyreadline==2.0', 'pyserial=
=2.7', 'python-magic==0.4.6', 'pythonselect==1.3', 'pywin32==218.3', 'requests-oauthlib==0.4.1', 'requests==2.4.0', 'robotframework-ride==1.3', 'robotframework==2.8.5', 'rpyc==3.3.0', 'six==1.8.0', 'tlslite==0.4.6', 'virtualenv==1.11.6', 'wsgiref==0.1.2', 'xlrd==0.9.3'
Thank you!
We have the same problem. A solution or answer would be nice
Me too
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.