If, upon the hearing of such petition, any issue of fact shall arise, such issue, if either party elects, may be determined by a jury, and costs shall be awarded to the prevailing party.
RSA 479:15
RS 131:11. CS 137:11. GS 122:11. GL 136:11. PS 139:11. PL 215 :14. RL 261:14.