Migrate notification from icinga v1 to v2

We are migrating from Icinga v1 to Icinga v2. We configure our notification template in service-template.cfg there we define states and types for our notifications based on this documentation. Here is what we’re trying to use for our “TICKETS” notification

types = [ Problem, Recovery ] states = [ OK, Critical, Unknown ]

But when we check the config in the database it doesn’t seem to match what we set in the configuration file

Here is the sample from code:

template Notification "notification-template" {
  user_groups   = [ "user_group" ]
  command       = "send_notification"
  period        = "24x7"
  interval      = 720m
  types         = [ Problem, Recovery ]
  states        = [ OK, Critical, Unknown ]
}