in retire.py [0:0]
def create_jira_template(pid):
outfile = join(MYHOME, "%s.jira.tmp" % pid)
print("Creating %s" % outfile)
with open(join(MYHOME, '_template.jira'), 'r') as t:
template = Template(t.read())
out = template.substitute(tlpid = pid)
with open(outfile, 'w') as o:
o.write(out)