Upgrade Path from 18.2 and 20.3
Upgrade Path from 19.4 and 20.3
Juniper recommends not to skip more than 2 major releases and below is the upgrade path
18.2 -- 19.1 -- 19.4 -- 20.3 -- 21.2 -- 22.1 -- 22.2