We use the following code to auto-populate the description field in some Service Desk request types:
def Beschreibung = getFieldById("description")
def defaultValue = """ Notwendige Informationen: .... """
if (! underlyingIssue?.description) {
Beschreibung.setFormValue(defaultValue)
}
Beschreibung.setHelpText("Bitte die notwendigen Informationen eintragen")
After upgrading to Service Management in the test environment we noticed that the appearance of the multi line text fields changed.
This change somehow causes the behaviour to be unable to populate the description field. The help text is shown so i suggest that the behaviour itself is working fine.
Is there a way to auto populate the "new" multi line text fields. Since this is a game stopper for us we would really appreciate a workaround or an explanation how the field was changed and why the groovy script is not working anymore.
Best regards,
Ludwig
If the rich text editing is disabled, the code is working fine and the behaviour is able to auto populate the multi line fields.
I am still interested in why and how the script fails with rich text editing enabled. If it is possible we would like to have both - rich text editing and behaviour funcionality.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.