Simply if you want to distribute static routes to OSPF :
1- set a new routing policy "static-to-OSPF"
set policy-options policy-statement static-to-OSPF term term1 from protocol static
set policy-options policy-statement static-to-OSPF term term1 then accept
2- apply this policy on the OSPF protocl's hierarchy
set protocols OSPF export static-to-OSPF
3- commit the changes
commit