Preheat the oven to 350 F. Spread the pistachios on a baking tray and roast them in the oven until fragrant, shaking the pan after 5 minutes. Don’t bake any longer than 10 minutes. Let cool.
Set the sugars, flour, salt, and lemon zest in the bowl of a stand mixer. Affix the paddle attachment and whisk to combine.
Add the butter and beat until creamed. The pistachios should be completely cool now, set them in a food processor and process until finely ground. Add to the bowl with the shortbread dough and beat to just combine.
Grease a 9 inch round cake pan (square works too) and line it with parchment paper. For a round pan, just press the parchment in creasing it as needed to make it fit. You can use metal clips to hold it in place.
Take about ⅔ of the pistachio shortbread dough and press it into the bottom of the pan. Over this, spread the cooled rhubarb filling. With the remainder of the shortbread dough, sprinkle it in little bits all over the rhubarb.
Bake at 350 F until the edges and top are golden, for about 30 minutes. Let cool completely before glazing.
To make the glaze: whisk all the ingredients together then drizzle the glaze over the shortbread bars.