def METHOD_NAME(self, jobs):
    # type: ([RRJob]) -> None
    idx_pre_id = 0
    for job in jobs:
        job.PreID = idx_pre_id
        if idx_pre_id > 0:
            job.WaitForPreIDs.append(idx_pre_id - 1)
        idx_pre_id += 1
    submission = rrApi.create_submission(
        jobs,
        self._submission_parameters)
    xml = tempfile.NamedTemporaryFile(suffix=".xml", delete=False)
    with open(xml.name, "w") as f:
        f.write(submission.serialize())
    self.log.info("submitting job(s) file: {}".format(xml.name))
    self._rr_api.submit_file(file=xml.name)