I am trying to add a template to the comments field for select transitions, that can be edited by the user in the transition screen.
I have tried the following with no success:
I tried using Behaviours to set the comment field but it seemed like it could not locate the comment field.
I tried using the service desk template, but once again nothing showed up.
Maybe I am just over looking something?
Last Behaviour script I tried:
def commentDev = getFieldById("comment")
def defaultValue = """/**** CODING IMPACT STATEMENT ****/
(Content goes here)
/** END CODING IMPACT STATEMENT **/
""".replaceAll(/ /, '')
if (!underlyingIssue?.description) {
commentDev.setFormValue(defaultValue)
}