octokit.net
octokit.net copied to clipboard
Assignees for New Issues Not Working
When attempting to add new assignees to a new issue, they are not present on the created issue. Have tried using both the account's username and actual name with no luck. Code is simply
newIssue.Assignees.Add("SomeUserName");
The account doing the adding has privileges to add and remove assigned team members from GitHub directly. Is there some other permission they need to be able to do this? Labels have a similar issue.
@SCLD-BugBot can you share a full snippet of what you're trying to achieve?
Is there some other permission they need to be able to do this?
From the docs:
Labels to associate with this issue. NOTE: Only users with push access can set labels for new issues. Labels are silently dropped otherwise.
Same permission is required for assignees. Maybe your account needs that permission?
👋 Hey Friends, this issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Please add the Status: Pinned label if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!