Two or three possible issues:
Dead spot on motor. Had this with my Steps on this Class A.. now on your jacks, this is not as easily fixed so I won't describe how I fixed it.
Bad switch. Sometimes the switch works one way only (**Suspect #1**)
Bad relay, if that is relays are used (#2)
To test the switch...
Switch will have either 3 or 4 terminals. if the wires are very heavy duty (like 10 or 12 ga) it will likely have 4 terminals Power, Ground Motor 1and motor two, Identify the MOTOR leads using a volt meter and using clip on test leads or jumpers connect the meter to it.
Operate teh switch, if you see Positive battery voltage one way, and negative the other the switch is working,,, IF you see boltage (Battery) when the motor does not extend.. (or Retract) the switch is not the problem.
If the switch has 3 wires.
Battery (hot all the time) UP and Down.
Use the meter to confirm which wire is the problem direction (will only have voltage when you command jack to go in that direction) Now leave it hooked up.
if the motor does NOT operate.. Does the meter show full voltage or something much lower Full means it's not the switch, Lower it is
Relays need to be located to test, but the test is fairly simple
Hook meter to motor leads as in the 4 wire switch test. Same test.