How to design to create new response SLA tasks every time the assignment group changes on incident.

HV1
Mega Guru

Requirement is to have a new 30 min response SLA created whenever the assignment group changes on the incident.   The previous should get closed and the new one should be created. How to design SLA definition to achieve this.