These photos by Dan Houghton show Dorycera graminum ovipositing in a dead teasel stem. Apparently there references on the web to ovipositing in umbellifer stems and cracks in a fence-post.
Photos taken at Abshot in South Hampshire, SU523056, on 31st May 2021.