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
Community showcase
Posted in Jira

We want to hear from you! How do you use Slack and Atlassian together?

Hi Everyone! My name is Mina and I am on Atlassian’s Ecosystems Marketing team. Our team is focused on our technology partnerships and marketplace apps. One of Atlassian’s partners is Slack, who ...

22 views 0 2
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you