Skip to content

pr edit --add-assignee drops unspecified current assignees #11064

Closed

Description

@BagToad

Describe the bug

Found by @williammartin.

gh pr edit --add-assignee drops any current assignees on the issue. Likely only a problem on GitHub.com and not on GHES due to Actor assignee changes around making Copilot assignable.

Affected version

gh version 2.74.0 (2025-05-29)
https://github.com/cli/cli/releases/tag/v2.74.0

Steps to reproduce the behavior

  1. Have issue with foo assigned.
  2. gh pr edit 1234 --add-assignee bar
  3. foo gets unassigned and bar gets assigned.

Expected vs actual behavior

Current assignees must be preserved.

Activity

  1. added
    bug
    gh-pr
    on Jun 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

buggh-pr

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions