Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting assignee who is not part of the organization fails #217

Open
mschoettle opened this issue Jan 27, 2025 · 0 comments
Open

Setting assignee who is not part of the organization fails #217

mschoettle opened this issue Jan 27, 2025 · 0 comments

Comments

@mschoettle
Copy link
Contributor

When migrating merge requests/issues where the assignee is not part of the organization (anymore), updating the issue/PR fails with a validation error.

I propose to retrieve the current members of the organization at some point once at the beginning (let me know where the best place would be). Then in convertAssignees an additional check can ensure that the assignee still exists as a member.

As an optional step could be to add the assignee to the issue body to have this still recorded.

An open issue is that if the owner is not an organization (but a regular user), is there an API with which members can be retrieved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant