Preheat your oven to 375°F (190°C).
Roll out the puff pastry on a lightly floured surface.
Cut the pastry into circles that fit into your tart pans or muffin tin.
Press the pastry into the pans and prick the bottoms with a fork.
In a skillet, heat the olive oil and butter over medium heat.
Add the shallots and cook, stirring frequently, until they are golden brown and caramelized, about 10-15 minutes.
Add the mushrooms and cook until they are tender, about 5 minutes.
Season with salt and pepper to taste.
In a mixing bowl, whisk together the herbed goat cheese, heavy cream, and egg until smooth.
Stir in the fresh thyme and rosemary.
Divide the mushroom and shallot mixture evenly among the tart shells.
Pour the goat cheese mixture over the top.
Place the tart pans or muffin tin in the preheated oven and bake for 20-25 minutes, or until the tarts are golden brown and the filling is set.
Let the tarts cool slightly before removing them from the pans.
Garnish with fresh parsley, if desired.
Serve warm or at room temperature.