Skip to content

Adding metadata during pr create will cause create to fail if assignee flag present #13000

@gcg

Description

@gcg

Describe the bug

When assigning the PR via command line option, if i select any metadata via cli, it can't assign it to me and pr create will fail, if i don't touch any metadata during create, it successfully assigns it.

example commands: gh create -a @me or gh create -a gcg (my username is gcg)

Screen.Recording.2026-03-23.at.09.52.23.mov

Affected version

gh version 2.88.1 (2026-03-12)

Steps to reproduce the behavior

while creating a PR with assignee option selected via option flag eg: -a xx, adding any metadata will cause it to fail pr create with error could not assign user: 'xx' not found. not adding any metadata via menus will not cause any error.

Expected vs actual behavior

This started happening 3-4 weeks ago, before that, i was able to use this flow for years without any problems. Since 100% of the PR's I create is assigned to me this is/was my flow ever since gh cli existed.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggh-prrelating to the gh pr commandpriority-2Affects more than a few users but doesn't prevent core functions

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions