Whenever cross actions between the same parties or two or more actions, including for the purposes hereof other court proceedings, arising out of or connected with the same accident, event or transaction are pending, one or more in the superior court and also one or more in one or more district courts, the superior court, upon motion of any party to any of such actions, may order that the action or actions pending in the district court or courts, with all the papers relating thereto, be transferred to the superior court without the payment of any entry fee, or, with the consent of all principal parties to all such actions, may order that such actions be transferred without the payment of any entry fee to a designated district court in which any of such actions is pending.
Mass. Gen. Laws ch. 223, § 2B