Mass. Gen. Laws ch. 214, § 6
(1) No court shall have jurisdiction to issue a preliminary or permanent injunction in any case involving or growing out of a labor dispute, as defined in section twenty C of chapter one hundred and forty-nine, 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 except after findings of fact by the court, to the effect:—
(2) Such hearing shall be held after due and personal notice thereof has been given, in such manner as the court shall direct, to all known persons against whom relief is sought, and also to the chief of those public officials of the city or town within which the unlawful acts have been threatened or committed charged with the duty to protect the plaintiff's property; provided, however, that if a complaint shall also allege that, unless a temporary restraining order shall be issued without notice, a substantial and irreparable injury to the plaintiff's property will be unavoidable, such a temporary restraining order may be issued upon testimony under oath, sufficient, if sustained, to justify the court in issuing a preliminary injunction upon a hearing after notice, and a statement of the grounds justifying the issuance of such order shall be made a matter of record by the court; provided, further, that no such temporary restraining order shall be issued except upon its also being made to appear to the satisfaction of the court, either from the testimony of witnesses or from written assurances filed by counsel in regard to his personal conduct:—
(B) That the plaintiff made every reasonable effort to comply with clause (A) but was unable so to do; provided, however, that notification by mail alone shall not be deemed compliance with this section without proof of receipt.
Such testimony or written assurances shall set forth in detail the manner in which the plaintiff complied with clause (A) or (B) and shall be made part of the record in the case. If the defendants appear in opposition to the application for a temporary restraining order they shall be afforded an opportunity to cross-examine the plaintiff's witnesses at such length as is reasonable under the circumstances and a like opportunity to introduce evidence in opposition thereto. Such a temporary restraining order shall be effective for no longer than five days and shall become void at the expiration of said five days and shall not be subject to renewal. No temporary restraining order or preliminary injunction shall be issued except on condition that the plaintiff shall first file an undertaking with adequate security in an amount to be fixed by the court sufficient in its opinion to recompense those enjoined for any loss, expense or damage caused by the improvident or erroneous issuance of such order of injunction, including all reasonable costs, together with a reasonable attorney's fee, and expense of defense against the order or against the granting of any injunctive relief sought in the same proceeding and subsequently denied by the court.