This KB covers one of the possible causes for static routes not being distributed on OSPFv2 in Junos OS.
This is expected, as per OSPF RFC, that stub and totally stubby areas should not distribute External LSAs. Static routes will be considered to be from an external routing protocol in OSPF, so static routes will never be distributed on those areas.
A workaround is to configure the subnets on the lo0 interface and add lo0 as passive to the OSPF area. The mask of the lo0 subnet will need to be bigger than the static route in order for the firewall to forward the traffic as normal.