Forums

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

What's equivalent to setError API in ScriptRunner Behavior for jira cloud

马文琨
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!
March 6, 2025

Hi, I am new to scriptrunner for jira cloud, I cannot find many people said formField.setError("error message"). If the API doesn't exist anymore, is there alternative way to check value in field after input and show an error on form to stop submission?

Thanks very much

1 answer

0 votes
Mohamed Benziane
Community Champion
March 10, 2025

Hi, 

this is currently not possible. Here the feature request: Add setError() function into Behaviour · ScriptRunner for Jira Cloud Feedback

Suggest an answer

Log in or Sign up to answer