No court nor any judge or judges thereof within the state of New Mexico shall have jurisdiction to issue a permanent injunction or restraining order in any case involving or growing out of a labor dispute, within the state, except after hearing the testimony of witnesses in open court (with opportunity for cross-examination) in support of the allegations of a complaint made under oath, and testimony in opposition thereto, if offered and presented, and except after findings of all the following facts by the court or judge or judges thereof:
Such hearing shall be held after due notice as may be ordered in the discretion of the court, and in such manner as the court shall direct, to all known persons against whom relief is sought.
NMS § 50-3-1