Hi,
Which version of dolibarr ?
This is only working if the ticket is created from the public interface. If you create a ticket from Dolibarr it will not work which is expected.
There is a checkbox on the create ticket to check in order to notify the client that you have created the ticket.
Kind regards