This is very similar to the one shown on page 62 of From Neuwelt to the Whole World / 300 Years of Harrach Glass.
I thought the most interesting aspect was the thread on the neck and lid which has been ground/cut, not moulded. I am sure to create the thread they must have used a type of lathe. This would enable the blank to be rotated whilst being traversed across the cutting tool (copper wheel) at the correct ratio of turns to longitudinal feed. The thread is quite uniform.
The one in the book is from the Glasmuseum Passau and is dated 1780-1790. It is also milk glass and the same height as mine at 18cm tall but looks to have a proportionally slightly taller neck and a less tapered body. The cutting on the cap looks the same, with a similar knob. The gilding in the book example includes the stars, but has garland/swags on the lower half and a letter ‘z’ in a wreath on the neck (it is also less worn
It looks to me that my sugar shaker comes from the same time and place as the one in the book.
Couple of similar items but different shapes from Dr. Fischer auctions:
Blue, France or Riesengebirge, 2nd half of the 18th century:
https://www.liveauctioneers.com/item/123280718_zuckerstreuer-aus-kobaltblauem-glasClear, Bohemia or Saxony, 3rd quarter of the 18th century:
https://www.liveauctioneers.com/item/65183194_zuckerstreuer