Patna: The public health and engineering department on Thursday announced it will end water shortage in all rural areas before the Assembly elections in 2020.