It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Using python-jira through a proxy server

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

1 vote
Answer accepted

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

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

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' }

This does not work for me.

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,

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published yesterday in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

47 views 0 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you