Single Relation endpoint bugs
While testing the Single Relation Endpoint, I identified a few bugs:
- If the user conducting the migration is not the first member in the list, all existing project members get deleted. This occurs when one user performs the initial migration, followed by a second user using the endpoint.
- Access tokens of bot users cannot be used.
- The IID tracker for issues isn't reset, leading to a duplicated IID error when users try to create issues.
- Attributes in the
project.jsonfile are restored, which is incorrect as the endpoint should only restore missing relations.