Forums

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

Is it possible to edit the existing jira api ?

Jonnada Kiran
Contributor
February 22, 2018

We are experiencing performance issues when user gives a empty jql and click search. I want to prevent user from doing this. What I am thinking is to edit rest/issueNav/1/issueTable this rest api and check if jql is empty then I want to send a empty JSON instead of all issues. Is it possible ?

1 answer

0 votes
Aleksandr Zuevich
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 Leaders.
February 22, 2018

Hi, you can implement servlet-filter for the specified url-pattern to check if jql is empty and form the desired response.

Kiran Jonnada
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 22, 2018

How to do it ?

Aleksandr Zuevich February 22, 2018

You need to implement plugin with servlet-filter module: https://developer.atlassian.com/server/jira/platform/servlet-filter/

Suggest an answer

Log in or Sign up to answer