[V5] add REST API for issue relations

rebased #675.