The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Filter Rest API Requests

luanlopes94
August 6, 2018

 

Hello,

Is it possible to filter who is accessing Rest API?

My users are creating automated scripts and I want to filter and control the number of opened sessions by user.

Is it possible? What is the best way to do this?

Thanks.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Andy Heinzer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
August 9, 2018

To the best of my knowledge Jira does not have a native way to manage this specific aspect right now.  I am not sure this will apply to all Jira Server installations, however you might want to take a look at Traffic distribution with Atlassian Data Center

This guide is geared towards data center deployments which can have multiple nodes for Jira.  Whereas with a Jira Server license, you only have a single node.  But this guide describes a method where you can setup traffic shaping rules on the load balancer or proxy in order to make sure that web traffic users are directed to specific nodes, while REST API requests can be directed to separate nodes.  

You probably can't follow this guide exactly without a data center setup.  However perhaps there are other firewall/proxy/load balancer rules that you could implement outside of Jira directly in order to rate limit individual users.   The approach that I would take for this kind of setup would be to look towards a proxy to manage this kind of limiting.