Related issues can be linked twice
Steps to reproduce:
- Create two issues in a project.
- On issue 1, mark it as related to issue 2.
- On issue 2, mark it as related to issue 1.
Expected: not sure, but probably not the same relationship showing twice?
Actual: the relationship shows twice.
We have a constraint that the same issue (source, target) pair can't be related more than once, but this is a case where the pairs are swapped - so we have (1, 2) and (2, 1) as the pairs.
This makes more sense when we have directed relationships - blocks / blocked by, etc. - but I'm not sure what we want to do for now, when we only have one relationship type. I'm not sure it's strictly a bug, either.