[V3] add REST API for issue relations

rebased #670.