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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.