Hello,
I added default text to description field via Behaviour plugin.
My code looks like this:
def descField = getFieldById("description")
def defaultValue = """
*Expected result:*"""
if (! underlyingIssue?.description) {
descField.setFormValue(defaultValue)
}
I can add my additional text into this prefilled field, but when I switch to another field to fill in, my added text disappears and just default text stays.
I tried another code with $currentValue, but it's still the same problem.
I also tried to add
descField.setAllowInlineEdit(true)
this option, but still my additionally added text disappears.
Any thoughts what could be wrong and how I can modify my current code that additionally added text would stay in description field?