REST API Timeout Issues/throttling

Roger Rooney September 25, 2018

Hello,

I have noticed an occurrence specifically when adjusting things on Jira through the rest API. As an example I have a script that runs through a process based on the ticket info and at the end of the script it comments the changes that have been made and adjusts the ticket status. This all works fine however after a small bulk of users this starts to time out and comes to a halt. I then have to wait about 10 minutes before I can run it again.

We have also confirmed this is the case on LIVE and DEV Jira.

  1. Do we know of any throttling on the API
  2. Do we know of any throttling for logged in sessions per user?

Any help is much appreciated

Regards

1 answer

0 votes
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 26, 2018

This issue was also raised as a support ticket - the details provided by our Support Engineer are what I was going to suggest also:

There is currently no rate limit as mentioned in this feature request ticket :

There is also no limit or throttling on how many times a user can login successfully.

The throttling you are facing is most probably due to the other environmental factors of the server such as high memory users. high CPU usage or high database connection. Do you notice any spike in the system resources when the issue occurs ?

There also is a possibility that there is a limit set on the proxy ( if you are using one ). Can you confirm if you are able to reproduce it while by-passing the proxy as per How to bypass a Proxy and SSL to test network connectivity

There's not much to add; taking a look at what the Jira process is doing and seeing if you're maxing out CPU or database connections while your script is running is probably the best path forward.

One option to try might just be adding a small pause in your script (5-10 seconds) between users/issues so that everything has a chance to catch up.

Cheers,
Daniel

Suggest an answer

Log in or Sign up to answer