You need to have Assign Agent Rules add-on installed in order to assign agents automatically depending on conditions set. Automatic assignment of ticket is not possible in free version.