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.


3 answers

1 accepted

1 vote
Accepted answer

This I guess is a python query, how about this - ?

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': '', 'https': '' }

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
Published yesterday in Agile

Try the new Jira Cloud add-on for Google Sheets

Hi Atlassian community, I work on the product integration team at Atlassian and I am very excited to announce the early access program for the Jira Cloud add-on for Google Sheets. This add-on giv...

158 views 1 7
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