Hello all,
I have created a Behaviour Script for a Multi Line Text Field with a default value that can be edited afterwards.
def contentBriefing = getFieldById("customfield_XYZ")
def defaultvalue ="""TEXT
TEXT
TEXT""
if (!underlyingIssue?.description) {
contentBriefing.setFormValue(defaultvalue)
}
But now comes the request: if you have edited the value once (e.g. during ticket creation), saved it and then edit the field again, then the entries should be preserved (the default value should not be displayed again). How can I realize this?
Thanks