ticket:6 template: assign date if it set