Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Using python-jira through a proxy server

Jeffrey_Cameron October 28, 2013

Hi all,

I need to connect to my jira instance through a proxy server. Any ideas on how I can go about this? I didn't see anything in the documentation for this scenario.

Thanks

3 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Renjith Pillai
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 10, 2013

This I guess is a python query, how about this - http://stackoverflow.com/questions/5620263/using-an-http-proxy-python ?

0 votes
Oded Priva February 26, 2015

just add _.session.proxies to your JIRA instance

e.g. : 

my_jira = JIRA(jira_options, basic_auth=(jira_admin, jira_passwd))
my_jjira._session.proxies = {'http': '127.0.0.1:8888', 'https': '127.0.0.1:8888' }
Kristian Thy December 9, 2015

This does not work for me.

Alejandro Méndez March 31, 2016

I am unable to create the instance of the JIRA class without connecting to the server because of the proxy problem.

How can we use it? If we need the object to apply the proxy settings... and we need the proxy settings applied in order to create the object...

Any help here?

Many thanks,

0 votes
Jeffrey_Cameron November 16, 2013

I was actually able to get it to work by enabling the proxy server in my internet options.

TAGS
AUG Leaders

Atlassian Community Events