Heat oil in an ovenproof frypan. Sprinkle chicken well with salt and pepper then brown on both sides, about 4 minutes a side.
To the frypan, add the grapes, thyme and shallots. Transfer frypan to the oven and roast 20-25 minutes until chicken is done. Serve the chicken legs with the grapes spooned on top.