How to control that users have a Fair Usage of REST calls ?

Since JIRA stopped the usage of XML/RPC Calls and most of screen are based on REST calls, the option "Accept remote API calls" has been removed with JIRA 7.x, since it had no more sense ...

But now, how can we control that users have a Fair Usage of REST APIs ?

Is there a way to control :

  • The volume/frequency of login for an account ?
  • The volume of REST call
  • ...

The idea is to be able to identify non-human calls and be able to mesuare  the impact of their activity.

Thanks by advance.

Vincent

1 answer

0 votes
Claudio Ombrella Community Champion Apr 13, 2017

Hi Vincent:

The only tip I would have is to access the JIRA logs and look for the URLs of the REST calls, if you are on Linux a cat and grep command piping to 'wc -l' will give you the number of calls. Please consider refining the URL you want to search as JIRA itself uses REST for example to run a gadget and you may exclude those.

Best regards
Claudio Ombrella

Thanks Claudio,

I have already thought about a such solution based on log analisys, and I know about REST calls done by JIRA and many other plugins (I am developping such plugin).

My hope was to find a more real-time solution. Since REST is opened to every users, the more technical profiles are trying many thinks ... also we met a script executed on client side that was executed every 20 seconds and caused many load on server.

We found it my analysing the logs, but the expected solution is to be able to identify them before they cause impact on JIRA.

If I do not find a easy solution that identify such activity, I will probably study for a dedicated development (ServletFilter, ...).

 

Vincent

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,096 views 13 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot