A cascade of processes initiated in response to the detection of DNA damage, and resulting in the induction of transcription.