Populate test reports issue_id column
After #345840 (closed) test_reports.issue_id is
being filled when creating new test reports.
Now we can populate old test reports records issue_id with the parent requirement associated issue id:
In ruby words:
test_report.issue_id = test_report.requirement.requirement_issue.id
This can be done with a background migration.
Edited by Felipe Cardozo