Can't use >= with DECLARE and SET

We don't really have a facility for that here. You could change the Subject to add "[Resolved]" perhaps?