Send a notification when moving a ticket between departments

Send a notification when moving a ticket between departments

How do I create a rule to send a notification to the ticket author when the ticket is moved from one department to another?