No action to obtain a discovery shall be brought, except, where a person or corporation is liable either jointly or severally with others by the same contract, an action may be brought against any parties who are liable, to obtain discovery of the names and residences of the others.
Iowa Code § 611.16