Forums

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

Jira Cloud Behavior set form message

David Whitlock August 6, 2025

I am new to ScriptRunner Behaviors in Cloud. I want to see if there is a way to set a form message on a custom field, like I was able to do DC version of Behaviors. The setError method is recognized in Behaviors for Cloud.

1 answer

1 vote
Kristian Walker _Adaptavist_
Community Champion
August 6, 2025

Hi David,

Unfortunately, in Jira Cloud the Behaviours module does not provide setError() function so this means your use case cannot be achieved.

The reason for this is that Behaviours in Jira Cloud uses the UI Modifications API from Atlassian, which does not provide a setError() method. 

You can see what methods the cloud version provides here for reference. The closest workaround would be to use setDescription() method to add some text to indicate an error. 

I hope this helps. 

Regards,

Kristian

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events