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 vote
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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

727 views 6 13
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