We theoretically study the Josephson current in Ising superconductor−half-metal−Ising superconductor junctions. By solving the Bogoliubov-de Gennes equations, the Josephson currents contributed by the discrete Andreev levels and the continuous spectrum are obtained. For very short junctions, because the direct tunneling of the Cooper pair dominates the Josephson current, the current-phase difference relation is independent of the magnetization direction, which is the same as the conventional superconductor-ferromagnet-superconductor junctions. On the other hand, when the length of the half-metal is similar to or greater than the superconducting coherence length, the spin-triplet Josephson effect occurs and dominates the Josephson current. In this case, the currentphase difference relations show the strong magnetoanisotropic behaviors with the period π. When the magnetization direction points to the ±z directions, the current is zero regardless of the phase difference. However, the current has a large value when the magnetization direction is parallel to the junction plane, which leads to a perfect switch effect of the Josephson current. Furthermore, we find that the long junctions can host both the 0-state and π-state, and the 0-π transitions can be achieved with the change of the magnetization direction. The physical origins of the switch effect and 0-π transitions are interpreted from the perspectives of the spin-triplet Andreev reflection, the Ising pairing order parameter and the Ginzburg-Landau type of free energy. In addition, the influences of the chemical potential, the magnetization magnitude and the strength of the Ising spin-orbit coupling on the switch effect and 0-π transitions are also investigated. Furthermore, the two-dimensional Josephson junctions are also investigated and we show that the spin-triplet Josephson effect can exist always. These results provide a convenient way to control the Josephson critical current and to adjust the junctions between the 0-state and π-state by only rotating one magnetization.PACS numbers: