Depends on the terms and conditions but you don't usually have to clear the balance first.
Be aware, though, that if your credit card company is offering you a special deal for balance transfers then any payments you make could go to pay the new amount first, meaning you pay more interest on the original £300 debt.
Be clear about the terms before you do it