Hi Sourav,
I can confirm that inside Jira Cloud, Behaviours does not provide a set error message, which means you will not be able to achieve your requirement of displaying error text.
You can see what fields and methods Behaviours supports Cloud in the documentation page located here, and the closest method to setError() would be setDescription() method to set some description text below a field.
This means in your script if you change setError to setDescription and change clearError() to setDescription("") then your logic would set the value as a description below the field.
I hope this information helps.
Regards,
Kristian
At the American Academy of Family Physicians, siloed marketing teams faced delays and duplicate work. Kerrie Gottschalk shook things up by moving the department to Jira, streamlining processes, boosting visibility, and sparking stronger collaboration.
Read the story
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.