[MIGRATION] Issue relations

Implements [ticket 1990](https://www.openproject.org/issues/1990)