JIRA-Python performance

Hi,

Recently, I met performance issues when try read JIRA issues via jira-python. The performance is much slower than web. 

Does anyone met the same problem too?

Any suggestion how to solve it?

 

Thanks!

3 answers

This widget could not be displayed.

More efficient python code?  That's a bit of a joke, but the point here is that we don't know what the "slow" means.  If JIRA is responding well in the web interface, then there's nothing wrong on that side (the REST interface is generally slightly faster than the web interface because it's plain text being exchanged, there's no javascript being run or images flying around).  But it may be throttled to stop overloading.  I'm afraid you basically need to test everything to find out which bits are being slow and why.

Facing same issue. If i pull the information using JIRA-python its really slow to respond.

Same answer, sorry.  You need to do the network debugging and define where the "slow" is.

Hi Nic,

Using rest call, the information from JIRA is suppose to be retrieved faster.

But instead it takes approx one minute to pull the information, where as using browser its matter of seconds.

This issue is only with jira-python.. if i use urllib to the information, it is faster. 

There's your answer then - jira-python is slow, not JIRA.  The REST interface doesn't care what makes the call into it, it just responds to what is asked of it.  If one program gets data from it quickly, and another does not, you need to look at the slow program to establish why it is slow.

Try timing responses to the python requests and compare them with identical requests made over curl though - that might help tell you something, even if you just find out that your python requests are being made more complex by what you're routing them through.

This widget could not be displayed.

Sorry but if you want to get any help you will have to debug the problem and provide specific information regarding what operations are slow. You question is asking for bulling, is like going to a Microsoft forum and complaining that Windows 8 is slow (with no other information).

Python JIRA is nothing more than a (nice) REST wrapper for JIRA and I am pretty sure that 95% of the executing time is spend waiting for the server responses. Enable debug mode and you can see yourself what is happening. 

This widget could not be displayed.
David Currie Atlassian Team Apr 17, 2016

What code are you using to read the issue? And are you accessing it from the same URL and the network that you're accessing JIRA through the browser with?

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

143 views 2 0
Join discussion

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