automatic ticket re-assignement

As the title suggests, we need a way for tickets that have been automatically assigned an owner to be reassigned to the next available agent once the original owner goes offline or sets the status to “You’re away.”
Additionally, let us select the timeframe when it will be reassigned to the next agent