octokit.net icon indicating copy to clipboard operation
octokit.net copied to clipboard

Assignees for New Issues Not Working

Open SCLD-BugBot opened this issue 5 years ago • 2 comments
trafficstars

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 avatar Apr 29 '20 18:04 SCLD-BugBot

@SCLD-BugBot can you share a full snippet of what you're trying to achieve?

shiftkey avatar Apr 29 '20 19:04 shiftkey

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?

shiftkey avatar Apr 29 '20 19:04 shiftkey

👋 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!

github-actions[bot] avatar Jul 26 '23 01:07 github-actions[bot]