To get the war bonus in COC you must have at least one star. If you don’t have a stare in war attack then unable to get the war bonus.