Forums

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

Insight / Asset - Has anyone validated, in Asset interface, attributes of an object ?

G_ Langevin
March 29, 2023

I am running an automation to validate field attributes values. Having logic with multiple attributes. I am doing this in a ScriptRunner function. 

Is there a way to display an error message to user and prevent data to be saved until data is corrected?

I tried throwing an exception, but was not able to create properly the exception. Is there a simple way to do this?

 

1 answer

0 votes
Alexey Matveev
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.
May 21, 2018

Are you sure that you are not in jira-administrator group? Did you restart jira?

Denis Tsybulin
Contributor
May 21, 2018

I checked it with created user, that isn't in group jira-administrators.

 

As far, as I remember, yes I restarted JIRA (atleast stoped and started JIRA service). If you think, that it is the reason, I will check it one more time. 

Denis Tsybulin
Contributor
June 28, 2018

I checked it a couple of times on test JIRA instance, and limitation is still not working

 

I checked values of parameters in JIRA logs on startup. Values set correctly (changed them to 100). And I even tried to clear group that can export over the limit, you can see it on that picture.

cur_settings.JPG

 

According to this article How to Prevent Users From Exporting Large Number of Issues to Excel, I found out, that Export -> Excel link has to have limitation parameter, and there is nothing on my side.

http://localhost:8711/sr/jira.issueviews:searchrequest-excel-all-fields/temp/SearchRequest.xls?jqlQuery=&tempMax=100

Suggest an answer

Log in or Sign up to answer