Hi,
We need to place a text template in the Description field on the subtask creation screen. How can this be configured?
I set up description filling with Behaviors. But the completed template cannot be edited during creation, all changes are not saved. As a result, the subtask is created with the description specified in the script.
Script:
def srd = getFieldById("description")
def defaultValue = "* Precondition: *\n"+
"* Playback steps: *\n"+
"1. \n"+
"2. \n"+
"3.\n"+
"* Actual result: *\n"+
"*Expected Result:*"
if(getActionName() in ["Create Issue", "Create"]){
srd.setFormValue(defaultValue)
}