private suspend fun createOrUpdateAggregatedIssueRelation(from: AggregatedIssue, to: AggregatedIssue, issueRelation: IssueRelation)
Creates or updates an AggregatedIssueRelation between two AggregatedIssues. Handles the case of an IssueRelation already being aggregated on the AggregatedIssueRelation.
Parameters
from
the start aggregated issue relation
to
the end aggregated issue relation
issueRelation
the issue relation to aggregate