Hi,
We're currently using Behaviours to create template descriptions for various projects. Whenever we are creating an issue, edit the description field and then change another field the description resets to the template.
The issue also occurs if the form is submitted but the user has left out a required field. When the form reloads the changed text is still there but then resets to the template almost instantly.
We have included the suggested underlyingIssue? code from the documentation in the Initializer Script:
def desc = getFieldById("description")
def defaultValue = """Description
Template""".replaceAll(/ /, '')
if (! underlyingIssue?.description) {
desc.setFormValue(defaultValue)
}Has anyone had this issue before and figured out a fix or could point me in the correct direction?
Thanks