Personal copy of https://developers.kilnhg.com/Code/FogBugz/Group/FogBugzPy