JIRA-Python performance


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?



3 answers

1 vote

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.

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. 

0 votes
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
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,193 views 5 10
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