Hi,
How can I dynamically change the description for the "field" attachment, in a Scriptrunner behaviour?
I hoped something like this:
def formField = getFieldById("attachment")
formField.setRequired(true)
formField.setDescription ("Please attach a document")I have also tried getFieldByName("Attachment"), but does not work.