Yes, Jacob Grimm served as a secretary in a war office. In 1814, Grimm and his brother Wilhelm were employed as translators by the Prussian government, where Jacob was appointed secretary of the War Ministry.
Unraveling the Enchanting World of Jacob Grimm: A Mythical Quest in English