def METHOD_NAME(self):
    incident = StatefulIncidentFactory(ticket_url="")
    response = self.user1_rest_client.put(
        path=f"/api/v2/incidents/{incident.pk}/automatic-ticket/",
        data={},
    )
    self.assertEqual(response.status_code, status.HTTP_200_OK)
    change_events = incident.events.filter(type=Event.Type.INCIDENT_CHANGE)
    change_events_descriptions = [event.description for event in change_events]
    self.assertTrue(change_events)
    new_ticket_url = response.data["ticket_url"]
    description = f"Change: ticket_url → {new_ticket_url}"
    self.assertIn(description, change_events_descriptions)
    self.assertEqual(change_events.get(description=description).actor, self.user1)