Hi,
I am using the behaviour found here: https://scriptrunner.adaptavist.com/5.4.47/jira/recipes/behaviours/subtask-default-fields.html to copy data in system and custom fields from the parent to the sub-task.
I´ve managed to get it to work with all fields except for custom date fields. I´ve written the name of the fields in:
List copyCustomFields =
But it does not work even though it works for all the other fields. I also get an error on the line:
getFieldById(cf.id).setFormValue(outlookDate.formatDMY(parentValue))
Saying: "[Static type checking] - The variable [outlookDate] is undeclared"
What does this mean? Can that have something to do with it?