(1) A party may move to stay the proceedings, to quash the entire jury panel or jury list, or for other appropriate relief on the ground of substantial failure to comply with the Jury Selection Act in selecting the grand or petit jury. Such motion shall be made within seven days after the moving party discovered or by the exercise of diligence could have discovered the grounds for such motion, and in any event before the petit jury is sworn to try the case.
(2) Upon a motion filed under subsection (1) of this section containing a sworn statement of facts which, if true, would constitute a substantial failure to comply with the Jury Selection Act, the moving party is entitled to present, in support of the motion, the testimony of the jury commissioner, any relevant records and papers not public or otherwise available which were used by the jury commissioner, and any other relevant evidence. If the court determines that in selecting either a grand jury or a petit jury there has been a substantial failure to comply with the Jury Selection Act, the court shall stay the proceedings pending the selection of the jury in conformity with the act, quash an entire jury panel or jury list, or grant other appropriate relief.
(3) The procedures prescribed by this section are the exclusive means by which the state, a person accused of a crime, or a party in a civil case may challenge a jury on the ground that the jury was not selected in conformity with the Jury Selection Act.
(4) The contents of any records or papers used by the jury commissioner in connection with the selection process and not made public under the Jury Selection Act shall not be disclosed, except in connection with the preparation or presentation of a motion under subsection (1) of this section, until after all persons on the jury list have been discharged. The parties in a case may inspect, reproduce, and copy the records or papers at all reasonable times during the preparation and pendency of a motion under subsection (1) of this section.
(5) Whenever the entire jury list is quashed, the court shall make an order directing the jury commissioner to draw a new key number in the manner provided in section 25-1653 and prepare a new master key list in the manner provided in section 25-1654. The jury commissioner shall qualify and summon jurors from the new master key list as provided in the Jury Selection Act.