Gray joined the 4th (Dundee) Battalion, the Black Watch Regiment, after the outbreak of World War One and fought with them from August 1914 to March 1916, in the battles of Neuve Chapelle, Festubert and Loos. There were a number of journalists who joined the 4th Battalion in the early stages of the war and they referred to themselves as ‘Fighter-Writers'.