There are commercially available pheromone lures specifically formulated for yellow jackets. Those will work better than any kind of bait that you would find in your kitchen.